Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup NodeJS and npm
uses: actions/setup-node@v3
with:
node-version: "lts/hydrogen"
node-version: "lts/iron"
cache: "yarn"

- name: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ts-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup NodeJS with yarn caching
uses: actions/setup-node@v3
with:
node-version: "lts/hydrogen"
node-version: "lts/iron"
cache: "yarn"

- name: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
lts/iron
2 changes: 1 addition & 1 deletion nibiru
Submodule nibiru updated 492 files
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"prettier": "prettier --write . --ignore-path .gitignore",
"eslint": "eslint --fix . --ignore-path .gitignore",
"semantic-release": "semantic-release",
"wagmi:generate": "wagmi generate",
"prepare": "husky install"
},
"dependencies": {
Expand All @@ -47,6 +48,7 @@
"cross-fetch": "4.0.0",
"graphql": "^16.9.0",
"graphql-ws": "^5.16.0",
"wagmi": "^2.19.2",
"pako": "^2.1.0"
},
"peerDependencies": {
Expand All @@ -63,6 +65,7 @@
"@graphql-codegen/cli": "^4.0.1",
"@graphql-codegen/client-preset": "^4.0.1",
"@graphql-codegen/typescript": "^4.0.1",
"@nibiruchain/solidity": "^0.0.7",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^29.1.2",
Expand All @@ -71,6 +74,7 @@
"@types/pako": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.30.7",
"@wagmi/cli": "^2.7.1",
"barrelsby": "^2.8.1",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
Expand All @@ -90,7 +94,7 @@
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.14.0",
"typedoc-plugin-missing-exports": "^2.1.0",
"typescript": "^4.4.3",
"typescript": "^5.4.5",
"ws": "^8.14.1"
},
"lint-staged": {
Expand Down
1 change: 1 addition & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
git submodule init
git submodule update

yarn wagmi:generate
yarn gql-generate & yarn proto-gen
yarn build:tsc
yarn docgen
16 changes: 16 additions & 0 deletions src/evm-core/const.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export const ADDR_WNIBI = "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97"

/**
* ERIS_EVM_ADDR: Proxy address for a contract points to an ErisEvm.sol
* implementation on mainnet.
* */
export const ADDR_ERIS_EVM = "0xF8647cB104e87fFf4B886dC6BB9F2F01596d400D"

/** Constants used in the ErisEvm.sol implementation on Nibiru. */
export const ERIS_CONST = {
ST_NIBI_ERC20_ADDR: "0xcA0a9Fb5FBF692fa12fD13c0A900EC56Bb3f0a7b",
ST_NIBI_BANK_DENOM:
"tf/nibi1udqqx30cw8nwjxtl4l28ym9hhrp933zlq8dqxfjzcdhvl8y24zcqpzmh8m/ampNIBI",
WASM_HUB_ADDR:
"nibi1udqqx30cw8nwjxtl4l28ym9hhrp933zlq8dqxfjzcdhvl8y24zcqpzmh8m",
}
Loading