Connect to Xai Mainnet


Chain Details

Xai currently supports three robust block explorers: Xaiscan (based on Etherscan), Blockscout and Dora. Feel free to use either block explorer as your wallet's default option.


Xai Connections & Explorers

Below is a JSON example of what Xai's connections and explorers will be (following this format: https://github.com/ethereum-lists/chains). Additionally, for chain type, it is an L3, but that's not an option right now. Currently there are only L2 type chains in the repo.

{
  "chain": {
    "info-json": "[{\"chain-id\":660279,\"parent-chain-id\":42161,\"parent-chain-is-arbitrum\":true,\"chain-name\":\"Xai\",\"chain-config\":{\"homesteadBlock\":0,\"daoForkBlock\":null,\"daoForkSupport\":true,\"eip150Block\":0,\"eip150Hash\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"eip155Block\":0,\"eip158Block\":0,\"byzantiumBlock\":0,\"constantinopleBlock\":0,\"petersburgBlock\":0,\"istanbulBlock\":0,\"muirGlacierBlock\":0,\"berlinBlock\":0,\"londonBlock\":0,\"clique\":{\"period\":0,\"epoch\":0},\"arbitrum\":{\"EnableArbOS\":true,\"AllowDebugPrecompiles\":false,\"DataAvailabilityCommittee\":true,\"InitialArbOSVersion\":11,\"GenesisBlockNum\":0,\"MaxCodeSize\":40960,\"MaxInitCodeSize\":81920,\"InitialChainOwner\":\"0xc7185e37A4aB4Af0E77bC08249CD2590AE3E1b51\"},\"chainId\":660279},\"rollup\":{\"bridge\":\"0x7dd8A76bdAeBE3BBBaCD7Aa87f1D4FDa1E60f94f\",\"inbox\":\"0xaE21fDA3de92dE2FDAF606233b2863782Ba046F9\",\"sequencer-inbox\":\"0x995a9d3ca121D48d21087eDE20bc8acb2398c8B1\",\"rollup\":\"0xC47DacFbAa80Bd9D8112F4e8069482c2A3221336\",\"validator-utils\":\"0x6c21303F5986180B1394d2C89f3e883890E2867b\",\"validator-wallet-creator\":\"0x2b0E04Dc90e3fA58165CB41E2834B44A56E766aF\",\"deployed-at\":166757506}}]",
    "name": "Xai"
  },
  "parent-chain": {
    "connection": {
      "url": "https://arb1.arbitrum.io/rpc"
    }
  },
  "http": {
    "addr": "0.0.0.0",
    "port": 8449,
    "vhosts": "*",
    "corsdomain": "*",
    "api": [
      "eth",
      "net",
      "web3",
      "arb",
      "debug"
    ]
  },
  "execution": {
    "forwarding-target": "https://xai-chain.net/rpc",
    "caching": {
      "archive": true
    }
  },
  "node": {
    "data-availability": {
      "enable": true,
      "sequencer-inbox-address": "0x995a9d3ca121D48d21087eDE20bc8acb2398c8B1",
      "parent-chain-node-url": "https://arb1.arbitrum.io/rpc",
      "rest-aggregator": {
        "enable": true,
        "online-url-list": "https://xai-chain.net/das-servers"
      }
    },
    "feed": {
      "input": {
        "url": "wss://xai-chain.net/feed"
      }
    }
  }
}