CrossFi Mainnet

Add CrossFi Mainnet to Your Wallet — MetaMask, OKX, Rabby, Trust Wallet

Chain ID: 4158·Symbol: XFI·TVL:

CrossFi Mainnet is an EVM-compatible blockchain with Chain ID 4158 and native token XFI. This page lets you add CrossFi Mainnet to MetaMask, Rabby Wallet, OKX Wallet or Trust Wallet in one click — no manual Chain ID or RPC entry required.

RPC Endpoints
https://rpc.mainnet.ms/

Block Explorer

What is CrossFi Mainnet?

CrossFi 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 CrossFi Mainnet once you add the network configuration.

Why do you need to add CrossFi Mainnet to your wallet?

MetaMask and most wallets only come pre-configured with Ethereum Mainnet. To transact, swap tokens, or use dApps on CrossFi 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 CrossFi Mainnet 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 CrossFi Mainnet network.

  2. 2

    Confirm in your wallet

    Your wallet shows the CrossFi Mainnet network details: Chain ID 4158, native token XFI. 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 CrossFi Mainnet. You can start transacting right away — you will need XFI to pay gas fees.

CrossFi 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:

NameCrossFi Mainnet
Chain ID4158
Native tokenXFI
Decimals18
RPC Endpointhttps://rpc.mainnet.ms/
Block Explorerhttps://xfiscan.com

Important notice

  • Always verify Chain ID 4158 before confirming — attackers sometimes create fake networks with similar names but different Chain IDs
  • You need XFI tokens in your wallet to pay gas fees for transactions on CrossFi 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

Frequently asked questions

Is it safe to add CrossFi Mainnet 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 CrossFi Mainnet Chain ID?
The Chain ID of CrossFi Mainnet is 4158. This unique number identifies the network and prevents MetaMask and other EVM wallets from mixing up transactions across different chains.
Do I need XFI tokens to use CrossFi Mainnet?
Yes. Every transaction on CrossFi Mainnet requires XFI to pay gas fees. You can purchase XFI on exchanges and bridge it to CrossFi Mainnet, or use a faucet if this is a testnet.
What is the CrossFi Mainnet RPC endpoint?
An RPC endpoint is the server address your wallet uses to communicate with the CrossFi Mainnet blockchain — sending transactions, reading balances, and checking state. One popular CrossFi Mainnet RPC is https://rpc.mainnet.ms/. This page shows live latency for each RPC so you can pick the fastest one.
My wallet says CrossFi Mainnet already exists when I click Add — what do I do?
That's completely normal. If CrossFi Mainnet is already in your wallet, it will simply switch to that network instead of adding a duplicate — no error or conflict.
I added CrossFi Mainnet 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.