Skip to content

Commit 20a2e43

Browse files
Merge pull request #2057 from Web3Auth/add-soneium-logo
Updated config.ts to include working Soneium logo
2 parents c20737e + 12c8a25 commit 20a2e43

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

packages/base/src/chain/config.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,19 @@ export const getEvmChainConfig = (chainId: number): CustomChainConfig | null =>
150150
blockExplorerUrl: "https://explorer-testnet.soneium.org",
151151
ticker: "ETH",
152152
tickerName: "ETH",
153-
logo: "https://cryptologos.cc/logos/soneium-logo.png",
153+
logo: "https://iili.io/2i5xce2.png",
154+
};
155+
}
156+
if (chainId === 1868) {
157+
return {
158+
chainNamespace: CHAIN_NAMESPACES.EIP155,
159+
chainId: "0x74c",
160+
rpcTarget: "https://rpc.soneium.org",
161+
displayName: "Soneium Mainnet",
162+
blockExplorerUrl: "https://soneium.blockscout.com",
163+
ticker: "ETH",
164+
tickerName: "ETH",
165+
logo: "https://iili.io/2i5xce2.png",
154166
};
155167
}
156168

0 commit comments

Comments
 (0)