0xWeb
Search…
⌃K
🗃

Blockchains

0xWeb includes some blockchain configurations and RPC endpoints
Chain slug
Name
eth
Ethereum
eth:goerli
Ethereum Testnet
polygon
Polygon Network
bsc
Binance Smart Chain
arbitrum
Arbitrum One
xdai
Gnosis Chain
hardhat
Local Hardhat Development Network
celo
Celo Platform
heco
HECO Chain
​🙏 Change the RPC endpoints for those chains in configuration.

Add custom EVM-compatible chain

Edit the configuration yml by running:
0xweb config -e
A default configuration will be copied into the new configuration file, which should be opened with your default editor for yml files.
  • 1 Add a new platform to the web3 section, for example:
web3:
foo:
chainId: 5555
chainToken: FOO
endpoints:
- url: 'https://foo-rpc-example'
- url: 'wss://foo-socket-url-example'
- url: 'https://some-other-url'
  • 2 Add the Blockchain Explorer configuration optionally to read the ABI and the sources.
0xWeb supports Etherscan and Blockscout forks, if there is one for your custom chain, add that information to the blockchainExplorer section
blockchainExplorer:
foo:
key: YOUR_KEY
host: 'https://api.bscscan.com'
www: 'https://bscscan.com'

AD

AD

## AD

AD