cronoscats-chains
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

@wagmi/chains

References to popular EVM-compatible chains.

Installation

Install the @wagmi/chains package.

npm i @wagmi/chains

Usage

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

  • arbitrum
  • arbitrumGoerli
  • avalanche
  • avalancheFuji
  • bsc
  • bscTestnet
  • fantom
  • fantomTestnet
  • foundry
  • goerli
  • hardhat
  • iotex
  • iotexTestnet
  • localhost
  • mainnet
  • metis
  • metisGoerli
  • optimism
  • optimismGoerli
  • polygon
  • polygonMumbai
  • sepolia
  • taraxa
  • taraxaTestnet
  • zkSync
  • zkSyncTestnet

Contributing

Want to add another chain to the list? Make sure you read the contributing guide first.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i cronoscats-chains

      Homepage

      wagmi.sh

      Weekly Downloads

      0

      Version

      0.1.10

      License

      MIT

      Unpacked Size

      21.8 kB

      Total Files

      4

      Last publish

      Collaborators

      • cronoscats