Skip to content

Chains

Viem Chain objects. More info at the Viem docs.

Import

Import via the 'wagmi/chains' entrypoint (proxies all chains from 'viem/chains').

ts
import { mainnet } from 'wagmi/chains'

Available Chains

Chain definitions as of viem@2.22.13. For viem@latest, visit the Viem repo.

514 Chains
Ethereum
mainnet
1 - ETH
Expanse Network
expanse
2 - EXP
Goerli
goerli
5 - ETH
ThaiChain
thaiChain
7 - TCH
Ubiq Mainnet
ubiq
8 - UBQ
ZKsync CLI Local Hyperchain L1
zksyncLocalHyperchainL1
9 - ETH
OP Mainnet
optimism
10 - ETH
Metadium Network
metadium
11 - META
Flare Mainnet
flare
14 - FLR
Diode Prenet
diode
15 - DIODE
Songbird Testnet Coston
songbirdTestnet
16 - CFLR
Songbird Canary-Network
songbird
19 - SGB
Elastos Smart Chain
elastos
20 - ELA
Elastos Smart Chain Testnet
elastosTestnet
21 - tELA
KardiaChain Mainnet
kardiaChain
24 - KAI
Cronos Mainnet
cronos
25 - CRO
Rootstock Mainnet
rootstock
30 - RBTC
Rootstock Testnet
rootstockTestnet
31 - tRBTC
Telos
telos
40 - TLOS
Telos
telosTestnet
41 - TLOS
LUKSO
lukso
42 - LYX
Crab Network
crab
44 - CRAB
Darwinia Network
darwinia
46 - RING
Acria IntelliChain
acria
47 - ACRIA
XinFin Network
xdc
50 - XDC
Apothem Network
xdcTestnet
51 - TXDC
CoinEx Mainnet
coinex
52 - cet
BNB Smart Chain
bsc
56 - BNB
Syscoin Mainnet
syscoin
57 - SYS
GoChain
goChain
60 - GO
Ethereum Classic
classic
61 - ETC
OKC
okc
66 - OKT
Conflux eSpace Testnet
confluxESpaceTestnet
71 - CFX
IDChain Mainnet
idchain
74 - EIDI
Meter
meter
82 - MTR
Meter Testnet
meterTestnet
83 - MTR
Viction
viction
88 - VIC
Viction Testnet
victionTestnet
89 - VIC
SwissDLT Mainnet
swissdlt
94 - BCTS
Bitkub
bitkub
96 - KUB
Binance Smart Chain Testnet
bscTestnet
97 - tBNB
Six Protocol
sixProtocol
98 - SIX
Gnosis
gnosis
100 - XDAI
WorldLand Mainnet
worldLand
103 - WLC
Velas EVM Mainnet
velas
106 - VLX
ThunderCore Mainnet
thunderCore
108 - TT
Shibarium
shibarium
109 - BONE
Coinbit Mainnet
coinbit
112 - GIDR
Flare Testnet Coston2
flareTestnet
114 - C2FLR
ENULS Mainnet
enuls
119 - NULS
Fuse
fuse
122 - FUSE
Fuse Sparknet
fuseSparknet
123 - SPARK
HashKey Chain Testnet
hashkeyTestnet
133 - HSK
Polygon
polygon
137 - POL
Sonic
sonic
146 - S
Shimmer
shimmer
148 - SMR
Redbelly Network Mainnet
redbellyMainnet
151 - RBNT
Redbelly Network Testnet
redbellyTestnet
153 - RBNT
Puppynet Shibarium
shibariumTestnet
157 - BONE
AIOZ Network
aioz
168 - AIOZ
Manta Pacific Mainnet
manta
169 - ETH
ABEY Mainnet
abey
179 - ABEY
Mint Mainnet
mint
185 - ETH
X1 Testnet
x1Testnet
195 - OKB
X1 Testnet
xLayerTestnet
195 - OKB
X Layer Mainnet
xLayer
196 - OKB
BitTorrent
bitTorrent
199 - BTT
Edgeless Testnet
edgelessTestnet
202 - EwETH
opBNB
opBNB
204 - BNB
B2
bsquared
223 - BTC
Nexilix Smart Chain
nexilix
240 - NEXILIX
Plinga
plinga
242 - PLINGA
Energy Mainnet
energy
246 - EWT
Oasys
oasys
248 - OAS
Fantom
fantom
250 - FTM
Glide L1 Protocol XP
glideL1Protocol
251 - GLXP
Fraxtal
fraxtal
252 - frxETH
Glide L2 Protocol XP
glideL2Protocol
253 - GLXP
Swan Chain Mainnet
swan
254 - ETH
Kroma
kroma
255 - ETH
Guru Network Mainnet
guruNetwork
260 - GURU
ZKsync InMemory Node
zkSyncInMemoryNode
260 - ETH
ZKsync InMemory Node
zksyncInMemoryNode
260 - ETH
Guru Network Testnet
guruTestnet
261 - tGURU
High Performance Blockchain
hpb
269 - HPB
ZKsync CLI Local Node
zkSyncLocalNode
270 - ETH
ZKsync CLI Local Hyperchain
zksyncLocalHyperchain
270 - ETH
ZKsync CLI Local Node
zksyncLocalNode
270 - ETH
ZKsync CLI Local Custom Hyperchain
zksyncLocalCustomHyperchain
272 - BAT
XR One
xrOne
273 - XR
Cronos zkEVM Testnet
cronoszkEVMTestnet
282 - zkTCRO
Boba Network
boba
288 - ETH
Orderly
orderly
291 - ETH
Hedera Mainnet
hedera
295 - HBAR
Hedera Testnet
hederaTestnet
296 - HBAR
Hedera Previewnet
hederaPreviewnet
297 - HBAR
ZKsync Sepolia Testnet
zkSyncSepoliaTestnet
300 - ETH
ZKsync Sepolia Testnet
zksyncSepoliaTestnet
300 - ETH
Omax Mainnet
omax
311 - OMAX
Filecoin Mainnet
filecoin
314 - FIL
KCC Mainnet
kcc
321 - KCS
ZKsync Era
zkSync
324 - ETH
ZKsync Era
zksync
324 - ETH
Shiden
shiden
336 - SDN
Cronos Testnet
cronosTestnet
338 - tCRO
Shape
shape
360 - ETH
Theta Mainnet
theta
361 - TFUEL
Theta Testnet
thetaTestnet
365 - TFUEL
PulseChain
pulsechain
369 - PLS
Cronos zkEVM Mainnet
cronoszkEVM
388 - zkCRO
NEAR Protocol
near
397 - NEAR
NEAR Protocol Testnet
nearTestnet
398 - NEAR
Optimism Goerli
optimismGoerli
420 - ETH
PGN
pgn
424 - ETH
Areon Network Testnet
areonNetworkTestnet
462 - TAREA
Areon Network
areonNetwork
463 - AREA
World Chain
worldchain
480 - ETH
Flow EVM Testnet
flowTestnet
545 - FLOW
Rollux Mainnet
rollux
570 - SYS
MetaChain Mainnet
metachain
571 - MTC
Astar
astar
592 - ASTR
Mandala TC9
mandala
595 - mACA
Metis Goerli
metisGoerli
599 - METIS
Flow EVM Previewnet
flowPreviewnet
646 - FLOW
Karura
karura
686 - KAR
Redstone
redstone
690 - ETH
Matchain
matchain
698 - BNB
Matchain Testnet
matchainTestnet
699 - BNB
Koi Network
koi
701 - KRING
Lycan
lycan
721 - LYC
Flow EVM Mainnet
flowMainnet
747 - FLOW
Rivalz
rivalz
753 - ETH
QL1
ql1
766 - QOM
Acala
acala
787 - ACA
Daily Network Mainnet
dailyNetwork
824 - DLY
Daily Network Testnet
dailyNetworkTestnet
825 - DLY
Taraxa Mainnet
taraxa
841 - TARA
Taraxa Testnet
taraxaTestnet
842 - TARA
Wanchain
wanchain
888 - WAN
Mode Testnet
modeTestnet
919 - ETH
PulseChain V4
pulsechainV4
943 - v4PLS
Lyra Chain
lyra
957 - ETH
5ireChain
fireChain
995 - 5IRE
5ireChain Thunder Testnet
thunderTestnet
997 - 5IRE
Wanchain Testnet
wanchainTestnet
999 - WANt
Zora Goerli Testnet
zoraTestnet
999 - ETH
Kairos Testnet
kairos
1001 - KAIA
Klaytn Baobab Testnet
klaytnBaobab
1001 - KLAY
Ekta Testnet
ektaTestnet
1004 - EKTA
BNB Greenfield Chain
bscGreenfield
1017 - BNB
BitTorrent Chain Testnet
bitTorrentTestnet
1028 - BTT
Conflux eSpace
confluxESpace
1030 - CFX
Bronos Testnet
bronosTestnet
1038 - tBRO
Bronos
bronos
1039 - BRO
Shimmer Testnet
shimmerTestnet
1073 - SMR
IOTA EVM Testnet
iotaTestnet
1075 - IOTA
Metis
metis
1088 - METIS
Dymension
dymension
1100 - DYM
Polygon zkEVM
polygonZkEvm
1101 - ETH
WEMIX
wemix
1111 - WEMIX
WEMIX Testnet
wemixTestnet
1112 - tWEMIX
Core Dao
coreDao
1116 - CORE
B2 Testnet
bsquaredTestnet
1123 - BTC
DeFiChain EVM Mainnet
defichainEvm
1130 - DFI
DeFiChain EVM Testnet
defichainEvmTestnet
1131 - DFI
Lisk
lisk
1135 - ETH
ADF Chain
adf
1215 - ADF
Ultron Testnet
ultronTestnet
1230 - ULX
Ultron Mainnet
ultron
1231 - ULX
Step Network
step
1234 - FITFI
Moonbeam Development Node
moonbeamDev
1281 - DEV
Moonbeam
moonbeam
1284 - GLMR
Moonriver
moonriver
1285 - MOVR
Moonbase Alpha
moonbaseAlpha
1287 - DEV
Unichain Sepolia
unichainSepolia
1301 - ETH
Sei Testnet
seiTestnet
1328 - SEI
Sei Network
sei
1329 - SEI
Localhost
localhost
1337 - ETH
Elysium Testnet
elysiumTestnet
1338 - LAVA
Polygon zkEVM Testnet
polygonZkEvmTestnet
1442 - ETH
MetaChain Istanbul
metachainIstanbul
1453 - MTC
Story Testnet
storyTestnet
1513 - IP
Story Odyssey
storyOdyssey
1516 - IP
Tenet
tenet
1559 - TENET
Gravity Alpha Mainnet
gravity
1625 - G
Horizen Gobi Testnet
gobi
1663 - tZEN
Mint Sepolia Testnet
mintSepoliaTestnet
1686 - ETH
Reya Network
reyaNetwork
1729 - ETH
Metal L2
metalL2
1750 - ETH
Soneium Mainnet
soneium
1868 - ETH
LightLink Phoenix Mainnet
lightlinkPhoenix
1890 - ETH
LightLink Pegasus Testnet
lightlinkPegasus
1891 - ETH
Swellchain
swellchain
1923 - ETH
Soneium Minato Testnet
soneiumMinato
1946 - ETH
B3 Sepolia
b3Sepolia
1993 - ETH
Ekta
ekta
1994 - EKTA
Sanko
sanko
1996 - DMT
Dogechain
dogechain
2000 - WDOGE
Telcoin Adiri Testnet
telcoinTestnet
2017 - TEL
Ronin
ronin
2020 - RON
Edgeware EdgeEVM Mainnet
edgeware
2021 - EDG
Saigon Testnet
saigon
2021 - RON
Beresheet BereEVM Testnet
edgewareTestnet
2022 - tEDG
Swan Saturn Testnet
swanSaturnTestnet
2024 - sETH
Edgeless Network
edgeless
2026 - EwETH
Aleph Zero Testnet
alephZeroTestnet
2039 - TZERO
Vanar Mainnet
vanar
2040 - VANRY
SnaxChain
snax
2192 - ETH
Kava EVM Testnet
kavaTestnet
2221 - KAVA
Kava EVM
kava
2222 - KAVA
RSS3 VSL Sepolia Testnet
rss3Sepolia
2331 - RSS3
Atleta Olympia
atletaOlympia
2340 - ATLA
GOAT
goat
2345 - BTC
Silicon zkEVM
silicon
2355 - ETH
Kroma Sepolia
kromaSepolia
2358 - ETH
Polygon zkEVM Cardona
polygonZkEvmCardona
2442 - ETH
Fraxtal Testnet
fraxtalTestnet
2522 - frxETH
inEVM Mainnet
inEVM
2525 - INJ
Morph Sepolia
morphSepolia
2710 - ETH
XR Sepolia
xrSepolia
2730 - tXR
Morph Holesky
morphHolesky
2810 - ETH
Morph
morph
2818 - ETH
Chips Network
chips
2882 - IOTA
HYCHAIN
hychain
2911 - TOPIA
Bifrost Mainnet
bifrost
3068 - BFC
SatoshiVM Alpha Mainnet
satoshiVM
3109 - BTC
SatoshiVM Testnet
satoshiVMTestnet
3110 - BTC
Filecoin Hyperspace
filecoinHyperspace
3141 - tFIL
Botanix Testnet
botanixTestnet
3636 - BTC
Crossbell
crossbell
3737 - CSB
Astar zkEVM
astarZkEVM
3776 - ETH
DOS Chain Testnet
dosChainTestnet
3939 - DOS
APEX Testnet
apexTestnet
3993 - ETH
Fantom Testnet
fantomTestnet
4002 - FTM
Oasis Testnet
oasisTestnet
4090 - FTN
Merlin
merlin
4200 - BTC
LUKSO Testnet
luksoTestnet
4201 - LYXt
Lisk Sepolia
liskSepolia
4202 - ETH
Nexi
nexi
4242 - NEXI
Beam
beam
4337 - BEAM
Orderly Sepolia
orderlySepolia
4460 - ETH
IoTeX
iotex
4689 - IOTX
IoTeX Testnet
iotexTestnet
4690 - IOTX
MEVerse Chain Testnet
mevTestnet
4759 - MEV
BlackFort Exchange Network Testnet
bxnTestnet
4777 - TBXN
World Chain Sepolia
worldchainSepolia
4801 - ETH
BlackFort Exchange Network
bxn
4999 - BXN
Mantle
mantle
5000 - MNT
Mantle Testnet
mantleTestnet
5001 - MNT
Mantle Sepolia Testnet
mantleSepoliaTestnet
5003 - MNT
Ham
ham
5112 - ETH
Citrea Testnet
citreaTestnet
5115 - cBTC
Bahamut
bahamut
5165 - FTN
Humanode
humanode
5234 - HMND
Superseed
superseed
5330 - ETH
Saga
saga
5464 - GAS
Nahmii 2 Mainnet
nahmii
5551 - ETH
opBNB Testnet
opBNBTestnet
5611 - tBNB
Syscoin Tanenbaum Testnet
syscoinTestnet
5700 - SYS
Chang Chain Foundation Mainnet
chang
5858 - CTH
BounceBit Testnet
bounceBitTestnet
6000 - BB
BounceBit Mainnet
bounceBit
6001 - BB
Tomb Mainnet
tomb
6969 - TOMB
ZetaChain
zetachain
7000 - ZETA
ZetaChain Athens Testnet
zetachainAthensTestnet
7001 - aZETA
Planq Mainnet
planq
7070 - PLQ
Bitrock Mainnet
bitrock
7171 - BROCK
exSat Network
exsat
7200 - BTC
InitVerse Mainnet
initVerse
7233 - INI
InitVerse Genesis Testnet
initVerseGenesis
7234 - INI
Horizen EON
eon
7332 - ZEN
MEVerse Chain Mainnet
mev
7518 - MEV
Cyber
cyber
7560 - ETH
The Root Network
root
7668 - XRP
The Root Network - Porcini
rootPorcini
7672 - XRP
Canto
canto
7700 - CANTO
Kinto Mainnet
kinto
7887 - ETH
DOS Chain
dosChain
7979 - DOS
iSunCoin Mainnet
iSunCoin
8017 - ISC
Shardeum Sphinx
shardeumSphinx
8082 - SHM
Kaia
kaia
8217 - KAIA
Klaytn
klaytn
8217 - KLAY
B3
b3
8333 - ETH
Zenchain Testnet
zenchainTestnet
8408 - ZCX
THAT Mainnet
that
8428 - THAT
Base
base
8453 - ETH
Hela Mainnet
hela
8668 - HLUSD
IOTA EVM
iota
8822 - IOTA
SuperLumio
superlumio
8866 - ETH
Unique Mainnet
unique
8880 - UNQ
Quartz Mainnet
uniqueQuartz
8881 - QTZ
Opal Testnet
uniqueOpal
8882 - OPL
JIBCHAIN L1
jbc
8899 - JBC
Evmos Testnet
evmosTestnet
9000 - EVMOS
Evmos
evmos
9001 - EVMOS
WeaveVM Alphanet
weaveVMAlphanet
9496 - tWVM
OORT MainnetDev
oortMainnetDev
9700 - OORT
Gnosis Chiado
gnosisChiado
10200 - xDAI
Arthera
arthera
10242 - AA
Arthera Testnet
artheraTestnet
10243 - AA
Shape Sepolia Testnet
shapeSepolia
11011 - ETH
Bool Beta Mainnet
boolBetaMainnet
11100 - BOL
Abstract Testnet
abstractTestnet
11124 - ETH
HAQQ Mainnet
haqqMainnet
11235 - ISLM
BEVM Mainnet
bevmMainnet
11501 - BTC
Artela Testnet
artelaTestnet
11822 - ART
Fibo Chain
fibo
12306 - FIBO
Huddle01 dRTC Chain
huddle01Mainnet
12323 - ETH
L3X Protocol
l3x
12324 - ETH
L3X Protocol Testnet
l3xTestnet
12325 - ETH
RSS3 VSL Mainnet
rss3
12553 - RSS3
SnaxChain Testnet
snaxTestnet
13001 - ETH
Beam Testnet
beamTestnet
13337 - BEAM
Cannon
cannon
13370 - ETH
Immutable zkEVM
immutableZkEvm
13371 - IMX
Phoenix Blockchain
phoenix
13381 - PHX
Immutable zkEVM Testnet
immutableZkEvmTestnet
13473 - IMX
Humanode Testnet 5
humanodeTestnet5
14853 - HMND
LoopNetwork Mainnet
loop
15551 - LOOP
EOS EVM Testnet
eosTestnet
15557 - EOS
Genesys Mainnet
genesys
16507 - GSYS
Holesky
holesky
17000 - ETH
Garnet Testnet
garnet
17069 - ETH
EOS EVM
eos
17777 - EOS
Unreal
unreal
18233 - reETH
Ultra EVM Testnet
ultraTestnet
18881 - UOS
Nautilus Mainnet
nautilus
22222 - ZBC
MAP Protocol
mapProtocol
22776 - MAPO
Oasis Sapphire
sapphire
23294 - ROSE
Oasis Sapphire Testnet
sapphireTestnet
23295 - TEST
DreyerX Mainnet
dreyerxMainnet
23451 - DRX
DreyerX Testnet
dreyerxTestnet
23452 - DRX
Bitkub Testnet
bitkubTestnet
25925 - tKUB
Boba Sepolia
bobaSepolia
28882 - ETH
HYCHAIN Testnet
hychainTestnet
29112 - TOPIA
MCH Verse
mchVerse
29548 - OAS
Anvil
anvil
31337 - ETH
Foundry
foundry
31337 - ETH
Hardhat
hardhat
31337 - ETH
Bitgert Mainnet
bitgert
32520 - Brise
Fusion Mainnet
fusion
32659 - FSN
Zilliqa
zilliqa
32769 - ZIL
Zilliqa Testnet
zilliqaTestnet
33101 - ZIL
Curtis
curtis
33111 - APE
Ape Chain
apeChain
33139 - APE
Funki
funkiMainnet
33979 - ETH
Mode Mainnet
mode
34443 - ETH
Q Mainnet
qMainnet
35441 - Q
Q Testnet
qTestnet
35443 - Q
Lens Testnet
lensTestnet
37111 - GRASS
Aleph Zero
alephZero
41455 - AZERO
Arbitrum One
arbitrum
42161 - ETH
Arbitrum Nova
arbitrumNova
42170 - ETH
Celo
celo
42220 - CELO
AssetChain Mainnet
assetChain
42420 - RWA
AssetChain Testnet
assetChainTestnet
42421 - RWA
ZKFair Mainnet
zkFair
42766 - USDC
Etherlink
etherlink
42793 - XTZ
Avalanche Fuji
avalancheFuji
43113 - AVAX
Avalanche
avalanche
43114 - AVAX
ZKFair Testnet
zkFairTestnet
43851 - USDC
Alfajores
celoAlfajores
44787 - A-CELO
Fusion Testnet
fusionTestnet
46688 - FSN
Neo X Mainnet
neoxMainnet
47763 - GAS
REI Mainnet
rei
47805 - REI
Zircuit Testnet
zircuitTestnet
48899 - ETH
Zircuit Mainnet
zircuit
48900 - ETH
Yooldo Verse
yooldoVerse
50005 - OAS
Yooldo Verse Testnet
yooldoVerseTestnet
50006 - OAS
Sophon
sophon
50104 - SOPH
Reddio Sepolia
reddioSepolia
50341 - RED
Electroneum Mainnet
electroneum
52014 - ETN
Superseed Sepolia
superseedSepolia
53302 - ETH
DODOchain Testnet
dodochainTestnet
53457 - DODO
DFK Chain
dfk
53935 - JEWEL
HAQQ Testedge 2
haqqTestedge2
54211 - ISLMT
Superposition
superposition
55244 - ETH
Rollux Testnet
rolluxTestnet
57000 - SYS
Ink
ink
57073 - ETH
PGN
pgnTestnet
58008 - ETH
Linea Goerli Testnet
lineaGoerli
59140 - ETH
Linea Goerli Testnet
lineaTestnet
59140 - ETH
Linea Sepolia Testnet
lineaSepolia
59141 - ETH
Linea Mainnet
linea
59144 - ETH
BOB
bob
60808 - ETH
Treasure
treasure
61166 - MAGIC
Optopia Testnet
optopiaTestnet
62049 - ETH
Optopia
optopia
62050 - ETH
TikTrix Testnet
tiktrixTestnet
62092 - tTTX
Geist Mainnet
geist
63157 - GHST
Sonic Testnet
sonicTestnet
64165 - S
Fantom Sonic Open Testnet
fantomSonicTestnet
64240 - FTM
Creator
creatorTestnet
66665 - ETH
Godwoken Mainnet
godwoken
71402 - pCKB
Polygon Mumbai
polygonMumbai
80001 - MATIC
Polygon Amoy
polygonAmoy
80002 - POL
Berachain bArtio
berachainTestnetbArtio
80084 - BERA
Berachain Artio
berachainTestnet
80085 - BERA
Blast
blast
81457 - ETH
Base Goerli
baseGoerli
84531 - ETH
Base Sepolia
baseSepolia
84532 - ETH
Chiliz Spicy Testnet
spicy
88882 - CHZ
Chiliz Chain
chiliz
88888 - CHZ
Jibchain Testnet
jbcTestnet
88991 - tJBC
Plume Devnet
plumeDevnet
98864 - ETH
Plume Mainnet
plume
98865 - ETH
Vechain
vechain
100009 - VET
Creditcoin3 Mainnet
creditCoin3Mainnet
102030 - CTC
Creditcoin3 Testnet
creditCoin3Testnet
102031 - TCTC
Stratis Mainnet
stratis
105105 - STRAX
re.al
real
111188 - reETH
Mitosis Testnet
mitosisTestnet
124832 - MITO
Etherlink Testnet
etherlinkTestnet
128123 - XTZ
Taiko Mainnet
taiko
167000 - ETH
Taiko (Alpha-3 Testnet)
taikoTestnetSepolia
167005 - ETH
Taiko Jolnir (Alpha-5 Testnet)
taikoJolnir
167007 - ETH
Taiko Katla (Alpha-6 Testnet)
taikoKatla
167008 - ETH
Taiko Hekla L2
taikoHekla
167009 - ETH
Bitlayer Testnet
bitlayerTestnet
200810 - BTC
Bitlayer Testnet
btrTestnet
200810 - BTC
Bitlayer Mainnet
bitlayer
200901 - BTC
Bitlayer
btr
200901 - BTC
Auroria Testnet
auroria
205205 - tSTRAX
One World Chain Mainnet
oneWorld
309075 - OWCT
Filecoin Calibration
filecoinCalibration
314159 - tFIL
LAVITA Mainnet
lavita
360890 - vTFUEL
Arbitrum Goerli
arbitrumGoerli
421613 - ETH
Arbitrum Sepolia
arbitrumSepolia
421614 - ETH
DisChain
disChain
513100 - DIS
Scroll Sepolia
scrollSepolia
534351 - ETH
Scroll
scroll
534352 - ETH
DustBoy IoT
dustboyIoT
555888 - DST
Polter Testnet
polterTestnet
631571 - GHST
Bear Network Chain Mainnet
bearNetworkChainMainnet
641230 - BRNKC
Xai Mainnet
xai
660279 - XAI
Vision Testnet
visionTestnet
666666 - VS
Sei Devnet
seiDevnet
713715 - SEI
Hemi Sepolia
hemiSepolia
743111 - ETH
Bear Network Chain Testnet
bearNetworkChainTestnet
751230 - tBRNKC
Ternoa
ternoa
752025 - CAPS
Ink Sepolia
inkSepolia
763373 - ETH
BOB Sepolia
bobSepolia
808813 - ETH
zkLink Nova
zkLinkNova
810180 - ETH
zkLink Nova Sepolia Testnet
zkLinkNovaSepoliaTestnet
810181 - ETH
exSat Testnet
exsatTestnet
839999 - BTC
Vision
vision
888888 - VS
Odyssey Testnet
odysseyTestnet
911867 - ETH
Treasure Topaz Testnet
treasureTopaz
978658 - MAGIC
Forma
forma
984122 - TIA
Forma Sketchpad
sketchpad
984123 - TIA
Zhejiang
zhejiang
1337803 - ZhejETH
PlayFi Albireo Testnet
playfiAlbireo
1612127 - ETH
Huddle01 dRTC Chain Testnet
huddle01Testnet
2524852 - ETH
Funki Sepolia Sandbox
funkiSepolia
3397901 - ETH
Manta Pacific Testnet
mantaTestnet
3441005 - ETH
Manta Pacific Sepolia Testnet
mantaSepoliaTestnet
3441006 - ETH
Electroneum Testnet
electroneumTestnet
5201420 - ETN
Astar zkEVM Testnet zKyoto
astarZkyoto
6038361 - ETH
Saakuru Mainnet
saakuru
7225878 - OAS
Zora
zora
7777777 - ETH
Fluence
fluence
9999999 - FLT
AlienX Mainnet
alienx
10241024 - ETH
ALIENX Hal Testnet
alienxHalTestnet
10241025 - ETH
Sepolia
sepolia
11155111 - ETH
OP Sepolia
optimismSepolia
11155420 - ETH
Neo X Testnet T4
neoxT4
12227332 - GAS
Swan Proxima Testnet
swanProximaTestnet
20241133 - sETH
Corn
corn
21000000 - BTCN
Corn Testnet
cornTestnet
21000001 - BTCN
Excelon Mainnet
excelonMainnet
22052002 - xlon
Ancient8 Testnet
ancient8Sepolia
28122024 - ETH
SKALE Nebula Testnet
skaleNebulaTestnet
37084624 - sFUEL
Otim Devnet
otimDevnet
41144114 - ETH
Fluence Testnet
fluenceTestnet
52164803 - tFLT
Cyber Testnet
cyberTestnet
111557560 - ETH
Plume Testnet
plumeTestnet
161221135 - ETH
Blast Sepolia
blastSepolia
168587773 - ETH
Neon EVM DevNet
neonDevnet
245022926 - NEON
Neon EVM MainNet
neonMainnet
245022934 - NEON
SKALE | Razor Network
skaleRazor
278611351 - sFUEL
Meld
meld
333000333 - MELD
SKALE | Block Brawlers
skaleBlockBrawlers
391845894 - BRAWL
Sophon Testnet
sophonTestnet
531050104 - SOPH
Degen
degen
666666666 - DEGEN
Tron
tron
728126428 - TRX
Ancient8
ancient8
888888888 - ETH
SKALE Calypso Testnet
skaleCalypsoTestnet
974399131 - sFUEL
Lumia Mainnet
lumiaMainnet
994873017 - LUMIA
Zora Sepolia
zoraSepolia
999999999 - ETH
SKALE Titan Hub
skaleTitanTestnet
1020352220 - sFUEL
SKALE | CryptoBlades
skaleCryptoBlades
1026062157 - sFUEL
SKALE | Crypto Colosseum
skaleCryptoColosseum
1032942172 - sFUEL
SKALE | Human Protocol
skaleHumanProtocol
1273227453 - sFUEL
Aurora
aurora
1313161554 - ETH
Aurora Testnet
auroraTestnet
1313161555 - ETH
SKALE | Titan Community Hub
skaleTitan
1350216234 - sFUEL
SKALE Europa Testnet
skaleEuropaTestnet
1444673419 - sFUEL
SKALE | Nebula Gaming Hub
skaleNebula
1482601649 - sFUEL
SKALE | Calypso NFT Hub
skaleCalypso
1564830818 - sFUEL
Harmony One
harmonyOne
1666600000 - ONE
Silicon Sepolia zkEVM
siliconSepolia
1722641160 - ETH
Kakarot Sepolia
kakarotSepolia
1802203764 - ETH
Lumia Testnet
lumiaTestnet
1952959480 - LUMIA
SKALE | Europa Liquidity Hub
skaleEuropa
2046399126 - sFUEL
SKALE | Exorde
skaleExorde
2139927552 - sFUEL
Mekong Pectra Devnet
mekong
7078815900 - eth
Palm Testnet
palmTestnet
11297108099 - PALM
Palm
palm
11297108109 - PALM
Xai Testnet
xaiTestnet
37714555429 - sXAI
Fluence Stage
fluenceStage
123420000220 - tFLT
Zeniq Mainnet
zeniq
383414847825 - ZENIQ
Kakarot Starknet Sepolia
kakarotStarknetSepolia
920637907288165 - ETH
Dchain Testnet
dchainTestnet
2713017997578000 - ETH
Dchain
dchain
2716446429837000 - ETH

Create Chain

Import the Chain type from Viem and create a new object that is asserted as const and satisfies the type. You can also use the defineChain function from Viem.

ts
import { type  } from 'viem'

export const  = {} as  satisfies 
Type '{}' does not satisfy the expected type 'Chain'. Type '{}' is missing the following properties from type '{ blockExplorers?: { [key: string]: ChainBlockExplorer; default: ChainBlockExplorer; } | undefined; contracts?: { [x: string]: ChainContract | { ...; } | undefined; ensRegistry?: ChainContract | undefined; ensUniversalResolver?: ChainContract | undefined; multicall3?: ChainContract | undefined; universalSignatureVer...': id, name, nativeCurrency, rpcUrls
ts
import {  } from 'viem'

export const  = ({})
Argument of type '{}' is not assignable to parameter of type 'Chain<ChainFormatters>'. Type '{}' is missing the following properties from type '{ blockExplorers?: { [key: string]: ChainBlockExplorer; default: ChainBlockExplorer; } | undefined; contracts?: { [x: string]: ChainContract | { ...; } | undefined; ensRegistry?: ChainContract | undefined; ensUniversalResolver?: ChainContract | undefined; multicall3?: ChainContract | undefined; universalSignatureVer...': id, name, nativeCurrency, rpcUrls

Now, add the missing required properties to the object until the error goes away.

ts
import { type  } from 'viem'

export const  = {
  : 1,
  : 'Ethereum',
  : { : 'Ether', : 'ETH', : 18 },
  : {
    : { : ['https://cloudflare-eth.com'] },
  },
  : {
    : { : 'Etherscan', : 'https://etherscan.io' },
  },
  : {
    : {
      : '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
    },
    : {
      : '0xE4Acdd618deED4e6d2f03b9bf62dc6118FC9A4da',
      : 16773775,
    },
    : {
      : '0xca11bde05977b3631167028862be2a173976ca11',
      : 14353601,
    },
  },
} as  satisfies 
ts
import {  } from 'viem'

export const  = ({
  : 1,
  : 'Ethereum',
  : { : 'Ether', : 'ETH', : 18 },
  : {
    : { : ['https://cloudflare-eth.com'] },
  },
  : {
    : { : 'Etherscan', : 'https://etherscan.io' },
  },
  : {
    : {
      : '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
    },
    : {
      : '0xE4Acdd618deED4e6d2f03b9bf62dc6118FC9A4da',
      : 16773775,
    },
    : {
      : '0xca11bde05977b3631167028862be2a173976ca11',
      : 14353601,
    },
  },
})

The more properties you add, the better the chain will be to use with Wagmi. Most of these attributes exist within the ethereum-lists/chains repository.

  • id: The chain ID for the network. This can be found by typing the network name into ChainList. Example: "Ethereum Mainnet" has a Chain ID of 1.
  • name: Human-readable name for the chain. Example: "Ethereum Mainnet"
  • nativeCurrency: The native currency of the chain. Found from ethereum-lists/chains.
  • rpcUrls: At least one public, credible RPC URL. Found from ethereum-lists/chains.
  • blockExplorers: A set of block explorers for the chain. Found from ethereum-lists/chains.
  • contracts: A set of deployed contracts for the chain. If you are deploying one of the following contracts yourself, make sure it is verified.
    • multicall3 is optional, but it's address is most likely 0xca11bde05977b3631167028862be2a173976ca11 – you can find the deployed block number on the block explorer. Check out mds1/multicall for more info.
    • ensRegistry is optional – not all Chains have a ENS Registry. See ENS Deployments for more info.
    • ensUniversalResolver is optional – not all Chains have a ENS Universal Resolver.
  • sourceId: Source Chain ID (e.g. the L1 chain).
  • testnet: Whether or not the chain is a testnet.

Released under the MIT License.