Developer FAQs

What are the chainIDs for the various networks?

  • mainnet: chainId: 1
  • ropsten: chainId: 3
  • rinkeby chainId: 4
  • optimism: chainId: 10
  • kovan: chainId: 42
  • binance: chainId: 56
  • optimisticKovan: chainId: 69
  • xdai: chainId: 100
  • polygon: chainId: 137
  • ganache: chainId: 1337
  • localhost: chainId: 31337
  • arbitrum: chainId: 42161
Copy link
Edit on GitHub