Skip to content

β›“ Supported chains

coccoinomane edited this page May 26, 2023 · 7 revisions

w3cli supports the following chains out of the box:

  • eth: Ethereum mainnet, the default one
  • bnb: Binance chain
  • avax: Avalanche C-Chain
  • matic: Polygon chain
  • cro: Cronos chain
  • arb: Arbitrum One chain
  • era: zkSync Era chain
  • gno: Gnosis (xDAI) chain
  • local: Chain for local development

Find the most updated list here.

Add more chains

  • To add an EVM-compatible chain with one or more RPCs, use w3 chain add
  • To list available chains with w3 chain list
  • Full command list: w3 chain --help

Use a custom RPC

Use the --rpc flag, see README for more details.