X Layer Testnet

Add X Layer Testnet to Your Wallet — MetaMask, OKX, Rabby, Trust Wallet

Testnet
Chain ID: 195·Symbol: OKB

X Layer Testnet is an EVM-compatible blockchain with Chain ID 195 and native token OKB. This page lets you add X Layer Testnet to MetaMask, Rabby Wallet, OKX Wallet or Trust Wallet in one click — no manual Chain ID or RPC entry required.

RPC Endpoints
https://testrpc.xlayer.tech
https://xlayertestrpc.okx.com

Block Explorer

What is X Layer Testnet?

X Layer Testnet 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 Testnet once you add the network configuration.

Why do you need to add X Layer Testnet to your wallet?

MetaMask and most wallets only come pre-configured with Ethereum Mainnet. To transact, swap tokens, or use dApps on X Layer Testnet, 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 Testnet to your wallet

  1. 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 Testnet network.

  2. 2

    Confirm in your wallet

    Your wallet shows the X Layer Testnet network details: Chain ID 195, native token OKB. Verify the Chain ID is correct, then click "Approve" or "Add Network".

  3. 3

    Switch to the new network

    After confirming, your wallet automatically switches to X Layer Testnet. You can start transacting right away — you will need OKB to pay gas fees.

X Layer Testnet network technical details

To add manually, go to Settings → Networks → Add Network in MetaMask (or your wallet's equivalent) and enter the details below:

NameX Layer Testnet
Chain ID195
Native tokenOKB
Decimals18
RPC Endpointhttps://testrpc.xlayer.tech
Block Explorerhttps://www.oklink.com/xlayer-test

Important notice

  • Always verify Chain ID 195 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 Testnet
  • 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

Frequently asked questions

Is it safe to add X Layer Testnet to MetaMask?
Yes, if you use the "Add to wallet" button on this page. Data is sourced from chainid.network — the community-audited Ethereum registry. Adding a network does not expose your private key or grant any permissions to the dApp.
What is X Layer Testnet Chain ID?
The Chain ID of X Layer Testnet is 195. This unique number identifies the network and prevents MetaMask and other EVM wallets from mixing up transactions across different chains.
Do I need OKB tokens to use X Layer Testnet?
Yes. Every transaction on X Layer Testnet requires OKB to pay gas fees. You can purchase OKB on exchanges and bridge it to X Layer Testnet, or use a faucet if this is a testnet.
What is the X Layer Testnet RPC endpoint?
An RPC endpoint is the server address your wallet uses to communicate with the X Layer Testnet blockchain — sending transactions, reading balances, and checking state. One popular X Layer Testnet RPC is https://testrpc.xlayer.tech. This page shows live latency for each RPC so you can pick the fastest one.
My wallet says X Layer Testnet already exists when I click Add — what do I do?
That's completely normal. If X Layer Testnet is already in your wallet, it will simply switch to that network instead of adding a duplicate — no error or conflict.
I added X Layer Testnet but the network won't load — what's wrong?
The most common cause is a broken or overloaded RPC endpoint. Your wallet uses RPC to connect to the blockchain — if the RPC is down, the network won't load even if it was added correctly. Fix: copy a different RPC from the list above (prefer green low-latency ones), then go to Settings → Networks in your wallet and replace the old RPC with the new one. Watch the tutorial video above for step-by-step instructions on updating your RPC.