Powered by

A design system from Family

Chains

By default, ConnectKit surfaces the most popular chains to your users. If you'd like, you can include more networks like Base, Zora, and others.

Example

ConnectKit uses wagmi internally, meaning all the various chains from wagmi are available. All you need to do is provide the chains in your config.

First, make sure to import your preferred chains from wagmi:

import { mainnet, base, zora } from "wagmi/chains";

Then simply include the chains in your config. Make sure to include your own RPC Providers for the various chains you want to support.

Below is an example of an app supporting multiple chains using ConnectKit:

,
Web3Provider.tsx
import { mainnet, base, zora } from "wagmi/chains";
import { WagmiProvider, createConfig, http } from "wagmi";
import { getDefaultConfig } from "connectkit";
// Choose which chains you'd like to show
const chains = [mainnet, base, zora];
const config = createConfig(
getDefaultConfig({
chains,
transports: {
[mainnet.id]: http(mainnet.rpcUrls.default.http[0]), // or your own RPC url
[base.id]: http(base.rpcUrls.default.http[0]), // or your own RPC url
[zora.id]: http(zora.rpcUrls.default.http[0]), // or your own RPC url
},
...
}),
);
<WagmiProvider config={config}>
...
</WagmiProvider>

And that's it—users can now choose to connect to any of the networks listed in the chains array.

Chains & Networks

In the example above, we used three different chains. In the table below you'll find a more extensive list of chains you can add to ConnectKit (which wagmi supports out of the box):

IconIDChainSymbolName
1mainnetETHEther
5goerliETHGoerli Ether
7thaiChainTCHTCH
10optimismETHEther
14flareFLRflare
16songbirdTestnetCFLRcostonflare
19songbirdSGBsongbird
25cronosCROCronos
30rootstockRBTCRootstock Bitcoin
31rootstockTestnettRBTCRootstock Bitcoin
40telosTLOSTelos
41telosTestnetTLOSTelos
42luksoLYXLUKSO
46darwiniaRINGRING
50xdcXDCXDC
51xdcTestnetTXDCTXDC
56bscBNBBNB
57syscoinSYSSyscoin
61classicETCETC
66okcOKTOKT
71confluxESpaceTestnetCFXConflux
82meterMTRMTR
83meterTestnetMTRMTR
96bitkubKUBBitkub
97bscTestnettBNBBNB
100gnosisxDAIGnosis
109shibariumBONEBone
114flareTestnetC2FLRcoston2flare
122fuseFUSEFuse
123fuseSparknetSPARKSpark
137polygonMATICMATIC
148shimmerSMRShimmer
169mantaETHETH
195x1TestnetOKBOKB
195xLayerTestnetOKBOKB
196xLayerOKBOKB
199bitTorrentBTTBitTorrent
202edgelessTestnetEwETHEdgeless Wrapped ETH
204opBNBBNBBNB
240nexilixNEXILIXNexilix
242plingaPLINGAPlinga
248oasysOASOasys
250fantomFTMFantom
252fraxtalfrxETHFrax Ether
255kromaETHETH
260zkSyncInMemoryNodeETHEther
270zkSyncLocalNodeETHEther
280zkSyncTestnetETHEther
288bobaETHEther
295hederaHBARHBAR
296hederaTestnetHBARHBAR
297hederaPreviewnetHBARHBAR
300zkSyncSepoliaTestnetETHEther
314filecoinFILfilecoin
321kccKCSKCS
324zkSyncETHEther
338cronosTestnettCROCRO
369pulsechainPLSPulse
420optimismGoerliETHGoerli Ether
424pgnETHEther
462areonNetworkTestnetTAREATAREA
463areonNetworkAREAAREA
545flowTestnetFLOWFlow
570rolluxSYSSyscoin
571metachainMTCMetatime Coin
592astarASTRAstar
595mandalamACAMandala
599metisGoerliMETISMetis Goerli
646flowPreviewnetFLOWFlow
686karuraKARKarura
690redstoneETHEther
721lycanLYCLycan
747flowMainnetFLOWFlow
787acalaACAAcala
841taraxaTARATara
842taraxaTestnetTARATara
888wanchainWANWANCHAIN
919modeTestnetETHEther
943pulsechainV4v4PLSV4 Pulse
997thunderTestnet5IRE5ire Token
999wanchainTestnetWANtWANCHAIN
999zoraTestnetETHZora Goerli
1001klaytnBaobabKLAYBaobab Klaytn
1004ektaTestnetEKTAEKTA
1017bscGreenfieldBNBBNB
1028bitTorrentTestnetBTTBitTorrent
1030confluxESpaceCFXConflux
1038bronosTestnettBROBronos Coin
1039bronosBROBRO
1073shimmerTestnetSMRShimmer
1088metisMETISMetis
1101polygonZkEvmETHEther
1111wemixWEMIXWEMIX
1112wemixTestnettWEMIXWEMIX
1116coreDaoCORECore
1130defichainEvmDFIDeFiChain
1131defichainEvmTestnetDFIDeFiChain
1135liskETHEther
1281moonbeamDevDEVDEV
1284moonbeamGLMRGLMR
1285moonriverMOVRMOVR
1287moonbaseAlphaDEVDEV
1329seiSEISei
1337localhostETHEther
1442polygonZkEvmTestnetETHEther
1453metachainIstanbulMTCMetatime Coin
1559tenetTENETTENET
1663gobitZENTest ZEN
1686mintSepoliaTestnetETHEther
1729reyaNetworkETHEther
1750metalL2ETHEther
1890lightlinkPhoenixETHEther
1891lightlinkPegasusETHEther
1994ektaEKTAEKTA
2000dogechainDCDogechain
2017telcoinTestnetTELTelcoin
2020roninRONRON
2021edgewareEDGEdgeware
2021saigonRONRON
2022edgewareTestnettEDGTestnet EDG
2026edgelessEwETHEdgeless Wrapped ETH
2221kavaTestnetKAVAKava
2222kavaKAVAKava
2331rss3SepoliaRSS3RSS3
2358kromaSepoliaETHSepolia Ether
2442polygonZkEvmCardonaETHEther
2522fraxtalTestnetfrxETHFrax Ether
2525inEVMINJInjective
2710morphSepoliaETHEther
3109satoshiVMBTCBTC
3110satoshiVMTestnetBTCBTC
3141filecoinHyperspacetFILtestnet filecoin
3737crossbellCSBCSB
3776astarZkEVMETHEther
3993apexTestnetETHEther
4002fantomTestnetFTMFantom
4090oasisTestnetFTNFasttoken
4200merlinBTCBTC
4201luksoTestnetLYXtLUKSO Testnet
4202liskSepoliaETHSepolia Ether
4242nexiNEXINexi
4337beamBEAMBeam
4689iotexIOTXIoTeX
4690iotexTestnetIOTXIoTeX
4759mevTestnetMEVMEVerse
4777bxnTestnetTBXNBlackFort Testnet Token
4999bxnBXNBlackFort Token
5000mantleMNTMNT
5001mantleTestnetMNTMNT
5003mantleSepoliaTestnetMNTMNT
5165bahamutFTNFasttoken
5611opBNBTestnettBNBtBNB
5700syscoinTestnetSYSSyscoin
7000zetachainZETAZeta
7001zetachainAthensTestnetaZETAZeta
7332eonZENZEN
7518mevMEVMEVerse
7560cyberETHEther
7700cantoCANTOCanto
8082shardeumSphinxSHMSHARDEUM
8217klaytnKLAYKlaytn
8453baseETHEther
8899jbcJBCJBC
9000evmosTestnetEVMOSEvmos
9001evmosEVMOSEvmos
9700oortMainnetDevOORTOORT
10200gnosisChiadoxDAIGnosis
11235haqqMainnetISLMIslamic Coin
11501bevmMainnetBTCBitcoin
12306fiboFIBOfibo
12324l3xETHEther
12325l3xTestnetETHEther
12553rss3RSS3RSS3
13337beamTestnetBEAMBeam
13371immutableZkEvmIMXImmutable Coin
13381phoenixPHXPhoenix
13473immutableZkEvmTestnetIMXImmutable Coin
15557eosTestnetEOSEOS
17000holeskyETHHolesky Ether
17777eosEOSEOS
22222nautilusZBCZBC
23294sapphireROSESapphire Rose
23295sapphireTestnetTESTSapphire Test Rose
23451dreyerxMainnetDRXDreyerX
25925bitkubTestnettKUBBitkub Test
31337anvilETHEther
31337foundryETHEther
31337hardhatETHEther
32769zilliqaZILZilliqa
33101zilliqaTestnetZILZilliqa
34443modeETHEther
35441qMainnetQQ
35443qTestnetQQ
42161arbitrumETHEther
42170arbitrumNovaETHEther
42220celoCELOCELO
42766zkFairUSDCUSD Coin
43113avalancheFujiAVAXAvalanche Fuji
43114avalancheAVAXAvalanche
43851zkFairTestnetUSDCUSD Coin
44787celoAlfajoresA-CELOCELO
50005yooldoVerseOASOAS
50006yooldoVerseTestnetOASOAS
53457dodochainTestnetDODODODO
53935dfkJEWELJewel
54211haqqTestedge2ISLMTIslamic Coin
57000rolluxTestnetSYSSyscoin
58008pgnTestnetETHEther
59140lineaGoerliETHLinea Ether
59140lineaTestnetETHLinea Ether
59141lineaSepoliaETHLinea Ether
59144lineaETHLinea Ether
60808bobETHETH
64240fantomSonicTestnetFTMFantom
80001polygonMumbaiMATICMATIC
80002polygonAmoyMATICMATIC
80085berachainTestnetBERABERA Token
81457blastETHEther
84531baseGoerliETHGoerli Ether
84532baseSepoliaETHSepolia Ether
88882spicyCHZCHZ
88888chilizCHZCHZ
88991jbcTestnettJBCtJBC
100009vechainVETVeChain
105105stratisSTRAXStratis
128123etherlinkTestnetXTZTez
167000taikoETHEther
167005taikoTestnetSepoliaETHEther
167007taikoJolnirETHEther
167008taikoKatlaETHEther
167009taikoHeklaETHEther
200810btrTestnetETHEther
200901btrETHEther
205205auroriatSTRAXAuroria Stratis
314159filecoinCalibrationtFILtestnet filecoin
421613arbitrumGoerliETHArbitrum Goerli Ether
421614arbitrumSepoliaETHArbitrum Sepolia Ether
534351scrollSepoliaETHEther
534352scrollETHEther
641230bearNetworkChainMainnetBRNKCBearNetworkChain
713715seiDevnetSEISei
751230bearNetworkChainTestnettBRNKCtBRNKC
1337803zhejiangZhejETHZhejiang Ether
1612127playfiAlbireoETHEther
3397901funkiSepoliaETHEther
3441005mantaTestnetETHETH
3441006mantaSepoliaTestnetETHETH
6038361astarZkyotoETHEther
7777777zoraETHEther
11155111sepoliaETHSepolia Ether
11155420optimismSepoliaETHSepolia Ether
28122024ancient8SepoliaETHEther
37084624skaleNebulaTestnetsFUELsFUEL
41144114otimDevnetETHETH
111557560cyberTestnetETHEther
161221135plumeTestnetETHPlume Sepolia Ether
168587773blastSepoliaETHEther
245022926neonDevnetNEONNEON
245022934neonMainnetNEONNEON
278611351skaleRazorsFUELsFUEL
391845894skaleBlockBrawlersBRAWLBRAWL
666666666degenDEGENDegen
888888888ancient8ETHEther
974399131skaleCalypsoTestnetsFUELsFUEL
999999999zoraSepoliaETHZora Sepolia
1020352220skaleTitanTestnetsFUELsFUEL
1026062157skaleCryptoBladessFUELsFUEL
1032942172skaleCryptoColosseumsFUELsFUEL
1273227453skaleHumanProtocolsFUELsFUEL
1313161554auroraETHEther
1313161555auroraTestnetETHEther
1350216234skaleTitansFUELsFUEL
1444673419skaleEuropaTestnetsFUELsFUEL
1482601649skaleNebulasFUELsFUEL
1564830818skaleCalypsosFUELsFUEL
1666600000harmonyOneONEHarmony
2046399126skaleEuropasFUELsFUEL
2139927552skaleExordesFUELsFUEL
11297108099palmTestnetPALMPALM
11297108109palmPALMPALM
107107114116kakarotSepoliaETHEther

Custom Chains

For advanced use-cases, you may want to use a chain that wagmi does not explicitly support.

Start by creating a file called customChains.ts and add your custom chain:

,
customChains.ts
import { type Chain } from "viem";
export const avalanche: Chain = {
id: 43_114,
name: "Avalanche",
nativeCurrency: {
decimals: 18,
name: "Avalanche",
symbol: "AVAX",
},
rpcUrls: {
default: { http: ["https://api.avax.network/ext/bc/C/rpc"] },
},
blockExplorers: {
default: { name: "SnowTrace", url: "https://snowtrace.io" },
snowtrace: { name: "SnowTrace", url: "https://snowtrace.io" },
},
testnet: false,
};

Then bring this chain over to your config, and include a transport for your chain:

,
Web3Provider.tsx
import { ConnectKitProvider } from "connectkit";
import { WagmiProvider, createConfig, http } from "wagmi";
import { avalanche } from "./customChains";
const config = createConfig(
getDefaultConfig({
...
chains: [avalanche],
transports: {
// You may want to use a custom RPC url here
[avalance.id]: http(avalanche.rpcUrls.default)
}
...
}),
);
export const Web3Provider = () => {
return (
<WagmiProvider config={config}>
...
</WagmiProvider>
);
};

That's it—ConnectKit will now surface your custom chain with your preferred RPC transport.

For more info, check out the wagmi docs which describes a similar scenario to the above example.