Skip to content

Commit 34aaef9

Browse files
authored
feat: add soneium support (#134)
* chore: bump helpers * feat: add soneium support * chore: bump address book * chore: bump icons package
1 parent 3db6e04 commit 34aaef9

File tree

3 files changed

+23
-16
lines changed

3 files changed

+23
-16
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
"test": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
3232
},
3333
"dependencies": {
34-
"@bgd-labs/aave-address-book": "^4.17.2",
35-
"@bgd-labs/aave-governance-ui-helpers": "^3.6.2",
34+
"@bgd-labs/aave-address-book": "^4.21.0",
35+
"@bgd-labs/aave-governance-ui-helpers": "^3.7.0",
3636
"@bgd-labs/frontend-web3-utils": "^1.3.1",
37-
"@bgd-labs/react-web3-icons": "^1.13.0",
37+
"@bgd-labs/react-web3-icons": "^1.28.0",
3838
"@emotion/cache": "^11.13.1",
3939
"@emotion/react": "^11.13.0",
4040
"@emotion/server": "^11.11.0",
@@ -125,4 +125,4 @@
125125
"showDetails": true
126126
},
127127
"packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
128-
}
128+
}

src/utils/chains.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
polygonMumbai,
1818
scroll,
1919
sepolia,
20+
soneium,
2021
sonic,
2122
zksync,
2223
} from 'viem/chains';
@@ -104,6 +105,11 @@ export const initialRpcUrls: Record<number, string[]> = {
104105
process.env.NEXT_PUBLIC_RPC_CELO || 'https://rpc.ankr.com/celo',
105106
'https://forno.celo.org',
106107
],
108+
[soneium.id]: [
109+
process.env.NEXT_PUBLIC_RPC_SONEIUM || 'https://rpc.soneium.io',
110+
'https://rpc.soneium.io',
111+
'https://soneium.drpc.org',
112+
],
107113
// testnets
108114
[sepolia.id]: [
109115
'https://eth-sepolia.public.blastapi.io',
@@ -167,6 +173,7 @@ export const CHAINS: Record<number, Chain> = {
167173
[linea.id]: setChain(linea),
168174
[sonic.id]: setChain(sonic),
169175
[celo.id]: setChain(celo),
176+
[soneium.id]: setChain(soneium),
170177
// testnets
171178
[sepolia.id]: setChain(sepolia),
172179
[polygonMumbai.id]: setChain(polygonMumbai),

yarn.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -897,15 +897,15 @@
897897
"@babel/helper-string-parser" "^7.25.9"
898898
"@babel/helper-validator-identifier" "^7.25.9"
899899

900-
"@bgd-labs/aave-address-book@^4.17.2":
901-
version "4.17.2"
902-
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.17.2.tgz#976823b4c825aeda33bd9375705260aef857c88c"
903-
integrity sha512-UVVCaLlLBA5VHl+qip/9qH8yZnNyIvyeRd4nHgKAluNbjeyRPzqESqToGmWSvtWOYK2kUtOrWCu0z9ncq6t6IA==
900+
"@bgd-labs/aave-address-book@^4.21.0":
901+
version "4.21.0"
902+
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.21.0.tgz#b7dcac85d2762cff9ca2acdde1d80b76872ec451"
903+
integrity sha512-Jtffiw/Skl2sSimTlhSkqEch6rCe6LIXzmC2djW1lQVAaHoiWguWF2rsn5Dzwu4boJ1E2U9V0j0fvRzVy3svyQ==
904904

905-
"@bgd-labs/aave-governance-ui-helpers@^3.6.2":
906-
version "3.6.2"
907-
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-governance-ui-helpers/-/aave-governance-ui-helpers-3.6.2.tgz#ba071dd284d9bd341052dcc186af355028b37034"
908-
integrity sha512-hvVZI6THW1bb8CLo/fmVXYdM7phUqCriHZP3kNj0qAgQ221LCVGqd1rWBEg0GiFL0/QvZhN6vRQf5L9ZsJUmqg==
905+
"@bgd-labs/aave-governance-ui-helpers@^3.7.0":
906+
version "3.7.0"
907+
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-governance-ui-helpers/-/aave-governance-ui-helpers-3.7.0.tgz#97330f94d3c7685e31b156aede43fc268596cea7"
908+
integrity sha512-R72pBmSCtRdpka1du6Yhm7qd4/7oPGoVDshGKynAj7CO2b6hoInzFYBazJj48zvfjEM6Lh/kClHSD1YrfXhZww==
909909
dependencies:
910910
abitype "^1.0.8"
911911
bs58 "^6.0.0"
@@ -920,10 +920,10 @@
920920
"@tanstack/react-query" "^5.51.11"
921921
dayjs "^1.11.12"
922922

923-
"@bgd-labs/react-web3-icons@^1.13.0":
924-
version "1.13.0"
925-
resolved "https://registry.yarnpkg.com/@bgd-labs/react-web3-icons/-/react-web3-icons-1.13.0.tgz#7dd3ad266a2df3491bb9e7dd34da2c1b81f4e777"
926-
integrity sha512-5KQ1HpSTt31L55UYXI12CDQtxY5vcQxba3gEIKVFH318Z64N7tjubLD3Qo5FI91EvUuyaTRtICzeF0xOGRu2Hg==
923+
"@bgd-labs/react-web3-icons@^1.28.0":
924+
version "1.28.0"
925+
resolved "https://registry.yarnpkg.com/@bgd-labs/react-web3-icons/-/react-web3-icons-1.28.0.tgz#ebf950d780527ab318b02e117c3376cec9bc7d70"
926+
integrity sha512-sxTSirFyh8LwnD4Nre7JtarOZSlVfIyS6ySwg4csMivkkQZJbMGzL5n0RLp/18X6T977PvhrUBV6GnA9cwXsXg==
927927
dependencies:
928928
"@loadable/component" "5.16.4"
929929
tailwind-merge "2.6.0"

0 commit comments

Comments
 (0)