0.1.10 • Published 2 years ago
cronoscats-chains v0.1.10
@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
arbitrumarbitrumGoerliavalancheavalancheFujibscbscTestnetfantomfantomTestnetfoundrygoerlihardhatiotexiotexTestnetlocalhostmainnetmetismetisGoerlioptimismoptimismGoerlipolygonpolygonMumbaisepoliataraxataraxaTestnetzkSynczkSyncTestnet
Contributing
Want to add another chain to the list? Make sure you read the contributing guide first.