Skip to content

Commit 8a13094

Browse files
committed
add soneium, plume, ink
1 parent d94f746 commit 8a13094

File tree

7 files changed

+205
-35
lines changed

7 files changed

+205
-35
lines changed

app/.env.local

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
VITE_ENSO_API_KEY=1e02632d-6feb-4a75-a157-documentation
2+
VITE_RAINBOWKIT_PROJECT_ID=test
23
VITE_BASE_PATH=

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"react-icons": "^5.4.0",
2222
"react-router-dom": "^7.1.5",
2323
"url": "^0.11.4",
24-
"viem": "2.x",
24+
"viem": "~2.29.2",
2525
"wagmi": "^2.14.16"
2626
},
2727
"devDependencies": {

app/src/components/Providers.tsx

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ import {
1212
polygon,
1313
berachain,
1414
sonic,
15-
unichain
15+
ink,
16+
soneium,
17+
unichain,
18+
plumeMainnet,
1619
} from "viem/chains";
1720
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
1821
import { WagmiProvider } from "wagmi";
@@ -26,7 +29,19 @@ const berachainWithIcon = {
2629
const sonicWithIcon = {
2730
...sonic,
2831
iconUrl:
29-
"https://assets.coingecko.com/coins/images/38108/standard/200x200_Sonic_Logo.png",
32+
"https://assets.coingecko.com/coins/images/38108/large/200x200_Sonic_Logo.png",
33+
};
34+
const plumeWithIcon = {
35+
...plumeMainnet,
36+
iconUrl:
37+
"https://assets.coingecko.com/coins/images/53623/large/plume-token.png?1736896935",
38+
};
39+
40+
const soneiumWithIcon = {
41+
...soneium,
42+
name: "Soneium",
43+
iconUrl:
44+
"https://assets.coingecko.com/asset_platforms/images/22200/large/soneium-removebg-preview.png?1737099934",
3045
};
3146

3247
const config = getDefaultConfig({
@@ -40,12 +55,15 @@ const config = getDefaultConfig({
4055
sonicWithIcon,
4156
unichain,
4257
optimism,
58+
soneiumWithIcon,
4359
bsc,
4460
zksync,
4561
avalanche,
4662
gnosis,
4763
polygon,
4864
linea,
65+
ink,
66+
plumeWithIcon,
4967
],
5068
});
5169
const queryClient = new QueryClient();

pnpm-lock.yaml

Lines changed: 87 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

widget/src/components/TokenSelector.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ const TokenSelector = ({
241241
const isLoading =
242242
protocolTokensLoading ||
243243
tokensLoading ||
244-
balancesLoading ||
245244
searchedTokenLoading ||
246245
valueTokenLoading ||
247246
!tokensFetched;

0 commit comments

Comments
 (0)