Skip to content

Commit cbd19d4

Browse files
authored
feat: add ink support (#148)
* feat: add ink support * chore: bump helpers
1 parent ffa1ead commit cbd19d4

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"dependencies": {
3434
"@bgd-labs/aave-address-book": "^4.30.1",
35-
"@bgd-labs/aave-governance-ui-helpers": "^3.9.1",
35+
"@bgd-labs/aave-governance-ui-helpers": "^3.9.2",
3636
"@bgd-labs/frontend-web3-utils": "^1.3.1",
3737
"@bgd-labs/react-web3-icons": "^1.35.0",
3838
"@emotion/cache": "^11.13.1",

src/utils/chains.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
bscTestnet,
1010
celo,
1111
gnosis,
12+
ink,
1213
linea,
1314
mainnet,
1415
metis,
@@ -112,6 +113,11 @@ export const initialRpcUrls: Record<number, string[]> = {
112113
'https://soneium.drpc.org',
113114
],
114115
[plasma.id]: [process.env.NEXT_PUBLIC_RPC_PLASMA || 'https://rpc.plasma.to'],
116+
[ink.id]: [
117+
process.env.NEXT_PUBLIC_RPC_INK || 'https://rpc.ink.io',
118+
'https://ink.drpc.org',
119+
'https://ink-public.nodies.app',
120+
],
115121
// testnets
116122
[sepolia.id]: [
117123
'https://eth-sepolia.public.blastapi.io',
@@ -177,6 +183,7 @@ export const CHAINS: Record<number, Chain> = {
177183
[celo.id]: setChain(celo),
178184
[soneium.id]: setChain(soneium),
179185
[plasma.id]: setChain(plasma),
186+
[ink.id]: setChain(ink),
180187
// testnets
181188
[sepolia.id]: setChain(sepolia),
182189
[polygonMumbai.id]: setChain(polygonMumbai),

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -902,10 +902,10 @@
902902
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.30.1.tgz#6e92aa64081bb917ed897421da1651b63138e394"
903903
integrity sha512-rOtveLwI0YiD9FlcA5wG62o83GQ9cvnTqlR92xrpwH/ZnmYsx9N1EJ/7wFdllnTLSBHy08q2RekOH4GA1FoUxw==
904904

905-
"@bgd-labs/aave-governance-ui-helpers@^3.9.1":
906-
version "3.9.1"
907-
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-governance-ui-helpers/-/aave-governance-ui-helpers-3.9.1.tgz#4f8b913990867b1bb2732b2edb204b8e9ed59d46"
908-
integrity sha512-SGiMHPwRfE/7EjybcEwVaoiRPDnvhWLqGVZriJz8GmCok2quG+iVMzxoRmDdmGSTxbQvu0x4GcK3eF0rrTNrNA==
905+
"@bgd-labs/aave-governance-ui-helpers@^3.9.2":
906+
version "3.9.2"
907+
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-governance-ui-helpers/-/aave-governance-ui-helpers-3.9.2.tgz#3d903d59ce9ce2b39abaa6d90e998a8aa6ca55e1"
908+
integrity sha512-zhhLgs7tv1WtlRrA7E3BtIdE68zxj+f1EdQT8SIV/w2GTOs2T//SMbPKeCdN8DnKODlpXvHM/J+lpTI1UoAXYQ==
909909
dependencies:
910910
abitype "^1.0.8"
911911
bs58 "^6.0.0"

0 commit comments

Comments
 (0)