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 } 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]: https(mainnet.rpcUrls.default.http[0]), // or your own RPC url
[base.id]: https(base.rpcUrls.default.http[0]), // or your own RPC url
[zora.id]: https(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
10optimismETHEther
14flareFLRflare
16songbirdTestnetCFLRcostonflare
19songbirdSGBsongbird
25cronosCROCronos
30rootstockRBTCRootstock Bitcoin
40telosTLOSTelos
41telosTestnetTLOSTelos
42luksoLYXLUKSO
50xdcXDCXDC
51xdcTestnetTXDCTXDC
56bscBNBBNB
57syscoinSYSSyscoin
61classicETCETC
66okcOKTOKT
71confluxESpaceTestnetCFXConflux
82meterMTRMTR
83meterTestnetMTRMTR
97bscTestnettBNBBNB
100gnosisxDAIGnosis
109shibariumBONEBone
114flareTestnetC2FLRcoston2flare
122fuseFUSEFuse
123fuseSparknetSPARKSpark
137polygonMATICMATIC
148shimmerSMRShimmer
169mantaETHETH
199bitTorrentBTTBitTorrent
204opBNBBNBBNB
240nexilixNEXILIXNexilix
242plingaPLINGAPlinga
248oasysOASOasys
250fantomFTMFantom
255kromaETHETH
280zkSyncTestnetETHEther
288bobaBOBABoba
300zkSyncSepoliaTestnetETHEther
314filecoinFILfilecoin
321kccKCSKCS
324zkSyncETHEther
338cronosTestnettCROCRO
369pulsechainPLSPulse
420optimismGoerliETHGoerli Ether
424pgnETHEther
570rolluxSYSSyscoin
571metachainMTCMetatime Coin
592astarASTRAstar
595mandalamACAMandala
599metisGoerliMETISMetis Goerli
686karuraKARKarura
787acalaACAAcala
841taraxaTARATara
842taraxaTestnetTARATara
888wanchainWANWANCHAIN
919modeTestnetETHEther
943pulsechainV4v4PLSV4 Pulse
997thunderTestnet5IRE5ire Token
999wanchainTestnetWANtWANCHAIN
999zoraTestnetETHZora Goerli
1001klaytnBaobabKLAYBaobab Klaytn
1004ektaTestnetEKTAEKTA
1028bitTorrentTestnetBTTBitTorrent
1030confluxESpaceCFXConflux
1038bronosTestnettBROBronos Coin
1039bronosBROBRO
1073shimmerTestnetSMRShimmer
1088metisMETISMetis
1101polygonZkEvmETHEther
1111wemixWEMIXWEMIX
1112wemixTestnettWEMIXWEMIX
1116coreDaoCORECore
1130defichainEvmDFIDeFiChain
1131defichainEvmTestnetDFIDeFiChain
1281moonbeamDevDEVDEV
1284moonbeamGLMRGLMR
1285moonriverMOVRMOVR
1287moonbaseAlphaDEVDEV
1337localhostETHEther
1442polygonZkEvmTestnetETHEther
1559tenetTENETTENET
1663gobitZENTest ZEN
1890lightlinkPhoenixETHEther
1891lightlinkPegasusETHEther
1994ektaEKTAEKTA
2000dogechainDCDogechain
2020roninRONRON
2021edgewareEDGEdgeware
2021saigonRONRON
2022edgewareTestnettEDGTestnet EDG
2221kavaTestnetKAVAKava
2222kavaKAVAKava
2358kromaSepoliaETHSepolia Ether
3141filecoinHyperspacetFILtestnet filecoin
3737crossbellCSBCSB
4002fantomTestnetFTMFantom
4090oasisTestnetFTNFasttoken
4242nexiNEXINexi
4689iotexIOTXIoTeX
4690iotexTestnetIOTXIoTeX
4759mevTestnetMEVMEVerse
4777bxnTestnetTBXNBlackFort Testnet Token
4999bxnBXNBlackFort Token
5000mantleMNTMNT
5001mantleTestnetMNTMNT
5165bahamutFTNFasttoken
5611opBNBTestnettBNBtBNB
5700syscoinTestnetSYSSyscoin
7001zetachainAthensTestnetaZETAZeta
7518mevMEVMEVerse
7700cantoCANTOCanto
8082shardeumSphinxSHMSHARDEUM
8217klaytnKLAYKlaytn
8453baseETHEther
8899jbcJBCJBC
9000evmosTestnetEVMOSEvmos
9001evmosEVMOSEvmos
9700oortMainnetDevOORTOORT
10200gnosisChiadoxDAIGnosis
11235haqqMainnetISLMIslamic Coin
12306fiboFIBOfibo
15557eosTestnetEOSEOS
17000holeskyETHHolesky Ether
17777eosEOSEOS
23294sapphireROSESapphire Rose
23295sapphireTestnetTESTSapphire Test Rose
31337foundryETHEther
31337hardhatETHEther
32769zilliqaZILZilliqa
33101zilliqaTestnetZILZilliqa
35441qMainnetQQ
35443qTestnetQQ
42161arbitrumETHEther
42170arbitrumNovaETHEther
42220celoCELOCELO
42766zkFairUSDCUSD Coin
43113avalancheFujiAVAXAvalanche Fuji
43114avalancheAVAXAvalanche
43851zkFairTestnetUSDCUSD Coin
44787celoAlfajoresA-CELOCELO
53935dfkJEWELJewel
54211haqqTestedge2ISLMTIslamic Coin
57000rolluxTestnetSYSSyscoin
58008pgnTestnetETHEther
59140lineaTestnetETHLinea Ether
59144lineaETHLinea Ether
64240fantomSonicTestnetFTMFantom
80001polygonMumbaiMATICMATIC
80085berachainTestnetBERABERA Token
84531baseGoerliETHGoerli Ether
84532baseSepoliaETHSepolia Ether
88882spicyCHZCHZ
88888chilizCHZCHZ
100009vechainVETVeChain
167005taikoTestnetSepoliaETHEther
167007taikoJolnirETHEther
167008taikoKatlaETHEther
314159filecoinCalibrationtFILtestnet filecoin
421613arbitrumGoerliETHArbitrum Goerli Ether
421614arbitrumSepoliaETHArbitrum Sepolia Ether
534351scrollSepoliaETHEther
534352scrollETHEther
534353scrollTestnetETHEther
641230bearNetworkChainMainnetBRNKCBearNetworkChain
751230bearNetworkChainTestnettBRNKCtBRNKC
1261120astarZkatanaETHEther
1337803zhejiangZhejETHZhejiang Ether
3441005mantaTestnetETHETH
7777777zoraETHEther
11155111sepoliaSEPSepolia Ether
11155420optimismSepoliaETHSepolia Ether
168587773blastSepoliaETHEther
245022926neonDevnetNEONNEON
245022934neonMainnetNEONNEON
278611351skaleRazorsFUELsFUEL
344106930skaleCalypsoTestnetsFUELsFUEL
391845894skaleBlockBrawlersBRAWLBRAWL
476158412skaleEuropaTestnetsFUELsFUEL
503129905skaleNebulaTestnetsFUELsFUEL
999999999zoraSepoliaETHZora Sepolia
1026062157skaleCryptoBladessFUELsFUEL
1273227453skaleHumanProtocolsFUELsFUEL
1313161554auroraETHEther
1313161555auroraTestnetETHEther
1350216234skaleTitansFUELsFUEL
1351057110skaleChaosTestnetsFUELsFUEL
1482601649skaleNebulasFUELsFUEL
1517929550skaleTitanTestnetsFUELsFUEL
1564830818skaleCalypsosFUELsFUEL
1666600000harmonyOneONEHarmony
2046399126skaleCryptoColosseumsFUELsFUEL
2046399126skaleEuropasFUELsFUEL
2139927552skaleExordesFUELsFUEL
11297108099palmTestnetPALMPALM
11297108109palmPALMPALM

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, https } 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]: https(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.

,