Add X Layer Mainnet to Your Wallet — MetaMask, OKX, Rabby, Trust Wallet
X Layer Mainnet is an EVM-compatible blockchain with Chain ID 196 and native token OKB. This page lets you add X Layer Mainnet to MetaMask, Rabby Wallet, OKX Wallet or Trust Wallet in one click — no manual Chain ID or RPC entry required.
Block Explorer
What is X Layer Mainnet?
X Layer Mainnet is an EVM (Ethereum Virtual Machine) compatible blockchain network. Any EVM wallet — MetaMask, Rabby, OKX Wallet, Trust Wallet, Coinbase Wallet — can connect and transact on X Layer Mainnet once you add the network configuration.
Why do you need to add X Layer Mainnet to your wallet?
MetaMask and most wallets only come pre-configured with Ethereum Mainnet. To transact, swap tokens, or use dApps on X Layer Mainnet, you need to add the network first. Entering an incorrect Chain ID or RPC can put your assets at risk. Use the "Add to wallet" button above — data sourced directly from chainid.network, the canonical Ethereum chain registry.
How to add X Layer Mainnet to your wallet
- 1
Click Add to wallet
Press the "Add to wallet" button above. MetaMask, OKX Wallet, Rabby Wallet or Trust Wallet will show a popup asking you to confirm adding the X Layer Mainnet network.
- 2
Confirm in your wallet
Your wallet shows the X Layer Mainnet network details: Chain ID 196, native token OKB. Verify the Chain ID is correct, then click "Approve" or "Add Network".
- 3
Switch to the new network
After confirming, your wallet automatically switches to X Layer Mainnet. You can start transacting right away — you will need OKB to pay gas fees.
X Layer Mainnet network technical details
To add manually, go to Settings → Networks → Add Network in MetaMask (or your wallet's equivalent) and enter the details below:
Important notice
- •Always verify Chain ID 196 before confirming — attackers sometimes create fake networks with similar names but different Chain IDs
- •You need OKB tokens in your wallet to pay gas fees for transactions on X Layer Mainnet
- •Data on this page is sourced from chainid.network — the community-verified Ethereum chain registry
- •If the "Add to wallet" button doesn't work, your wallet may not support wallet_addEthereumChain — add the network manually using the details below