Package Exports
- @wagmi/chains
- @wagmi/chains/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@wagmi/chains) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@wagmi/chains
References to popular EVM-compatible chains.
Installation
Install the @wagmi/chains package.
npm i @wagmi/chainsUsage
Use your preferred chains!
import { configureChains } from 'wagmi'
import { avalanche, bsc, mainnet } from '@wagmi/chains'
const { chains, provider } = configureChains(
[mainnet, avalanche, bsc],
...
)If your bundler supports tree-shaking (most likely), only the used chains will be included in the bundle, so you don't have to worry about bundle size. 😊
Chains
arbitrumarbitrumGoerliarbitrumNovaauroraauroraTestnetavalancheavalancheFujibaseGoerlibronosbronosTestnetbscbscTestnetcantoceloceloAlfajoresceloCannolicronoscronosTestnetedgewareedgewareTestnetfantomfantomTestnetfoundryfusegoerlihardhatiotexiotexTestnetlocalhostmainnetmetismetisGoerlimoonbaseAlphamoonbeammoonriveroasysokcoptimismoptimismGoerlipolygonpolygonMumbaipulsechainpulsechainV4skaleBlockBrawlersskaleCalypsoskaleCalypsoTestnetskaleChaosTestnetskaleCryptoBladesskaleCryptoColosseumskaleEuropaskaleEuropaTestnetskaleExordeskaleHumanProtocolskaleNebulaskaleNebulaTestnetskaleRazorskaleTitanskaleTitanTestnetsepoliataraxataraxaTestnettelostelosTestnetzkSynczkSyncTestnetzorazoraTestnet
Contributing
Want to add another chain to the list? Make sure you read the contributing guide first.