Skip to content

Commit

Permalink
chore: ink, inkSepolia test dapp support (#2269)
Browse files Browse the repository at this point in the history
* fix: ink, inksepolia, bscTestnet chains

* fix: hardcode ink
  • Loading branch information
DanielSinclair authored Dec 19, 2024
1 parent bd6d311 commit f979521
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion packages/example/src/wagmi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ import {
blast,
blastSepolia,
bsc,
bscTestnet,
celo,
celoAlfajores,
holesky,
inkSepolia,
klaytn,
klaytnBaobab,
mainnet,
Expand Down Expand Up @@ -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';
Expand All @@ -148,6 +165,7 @@ export const config = getDefaultConfig({
avalanche,
zora,
blast,
ink,
zkSync,
zetachain,
ronin,
Expand All @@ -163,9 +181,11 @@ export const config = getDefaultConfig({
optimismSepolia,
arbitrumSepolia,
baseSepolia,
bscTestnet,
avalancheFuji,
zoraSepolia,
blastSepolia,
avalancheFuji,
inkSepolia,
zetachainAthensTestnet,
klaytnBaobab,
mantleTestnet,
Expand Down

0 comments on commit f979521

Please sign in to comment.