Configuring Network Information

Blockchain-related settings must be specified in the Network.json file. Use private RPC endpoints for reliability, as public ones can lead to pending tasks. The structure of Network.json is as follows:

[
  {
    "Name": "ETH",
    "ChainID": 1,
    "RpcUrls": [
        "https://mainnet.infura.io/v3/*************",
        "https://rpc.ankr.com/eth/*************"
    ],
    "MinGasBalance": 0.2,
    "NativeTokenName": "ETH"
  },
  {
    "Name": "OP",
    "ChainID": 10,
    "RpcUrls": [
        "https://optimism-mainnet.infura.io/v3/**********",
        "https://rpc.ankr.com/optimism/***********"
    ],
    "MinGasBalance": 0.05,
    "NativeTokenName": "ETH"
  },
  …
]

Last updated