From f979521b29a851744b943a92ac26672bd96b58bd Mon Sep 17 00:00:00 2001 From: Daniel Sinclair <4412473+DanielSinclair@users.noreply.github.com> Date: Wed, 18 Dec 2024 23:28:25 -0500 Subject: [PATCH] chore: ink, inkSepolia test dapp support (#2269) * fix: ink, inksepolia, bscTestnet chains * fix: hardcode ink --- packages/example/src/wagmi.ts | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/packages/example/src/wagmi.ts b/packages/example/src/wagmi.ts index 9a8cbb9a3f..f864be49fc 100644 --- a/packages/example/src/wagmi.ts +++ b/packages/example/src/wagmi.ts @@ -71,9 +71,11 @@ import { blast, blastSepolia, bsc, + bscTestnet, celo, celoAlfajores, holesky, + inkSepolia, klaytn, klaytnBaobab, mainnet, @@ -131,6 +133,21 @@ const sei = { contracts: {}, } as const satisfies Chain; +const ink = { + id: 57073, + name: 'Ink', + iconUrl: 'https://inkonchain.com/icons/ink-sepolia-logo.svg', + iconBackground: '#fff', + nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, + rpcUrls: { + default: { http: ['https://rpc-gel.inkonchain.com'] }, + }, + blockExplorers: { + default: { name: 'Blockscout', url: 'https://explorer.inkonchain.com/' }, + }, + contracts: {}, +} as const satisfies Chain; + // Enable Smart Wallet and EOA // Testing `preference` type coinbaseWallet.preference = 'all'; @@ -148,6 +165,7 @@ export const config = getDefaultConfig({ avalanche, zora, blast, + ink, zkSync, zetachain, ronin, @@ -163,9 +181,11 @@ export const config = getDefaultConfig({ optimismSepolia, arbitrumSepolia, baseSepolia, + bscTestnet, + avalancheFuji, zoraSepolia, blastSepolia, - avalancheFuji, + inkSepolia, zetachainAthensTestnet, klaytnBaobab, mantleTestnet,