JSPM

  • Created
  • Published
  • Downloads 12627
  • Score
    100M100P100Q140614F
  • License MIT

A collection of chains for wagmi

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/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
  • aurora
  • auroraTestnet
  • avalanche
  • avalancheFuji
  • bronos
  • bronosTestnet
  • bsc
  • bscTestnet
  • canto
  • celo
  • celoAlfajores
  • fantom
  • fantomTestnet
  • foundry
  • goerli
  • hardhat
  • iotex
  • iotexTestnet
  • localhost
  • mainnet
  • metis
  • metisGoerli
  • moonbaseAlpha
  • moonbeam
  • moonriver
  • okc
  • optimism
  • optimismGoerli
  • polygon
  • polygonMumbai
  • skaleBlockBrawlers
  • skaleCalypso
  • skaleCalypsoTestnet
  • skaleChaosTestnet
  • skaleCryptoBlades
  • skaleCryptoColosseum
  • skaleEuropa
  • skaleEuropaTestnet
  • skaleExorde
  • skaleHumanProtocol
  • skaleNebula
  • skaleNebulaTestnet
  • skaleRazor
  • skaleTitan
  • skaleTitanTestnet
  • sepolia
  • taraxa
  • taraxaTestnet
  • telos
  • telosTestnet
  • zkSync
  • zkSyncTestnet

Contributing

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