> For the complete documentation index, see [llms.txt](https://docs.abstradex.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abstradex.xyz/guide/how-to-connect-wallet/x-layer.md).

# X Layer

## How To Add X Layer Mainnet to Metamask

To add **X Layer Mainnet** to the Metamask extension wallet the following methods:&#x20;

### Method 1: Use Chainlist to add a chain to Metamask wallet&#x20;

* Go to [Chainlist.org](https://chainlist.org/) page: <https://chainlist.org/chain/196>
* Connect your wallet and click **Add to Metamask**
* Confirm in your wallet and complete

### Method 2: Add a chain to Metamask manually

* Learn about [How to add a custom network RPC](https://support.metamask.io/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC) on Metamask
* Find to **Add a network manually** and fill in **X Layer Mainnet** information accurately and click **Save**:

> Network Name: **X Layer Mainnet**\
> New RPC URL: **<https://rpc.xlayer.tech>**> \
> Chain ID: **196**\
> Currency Symbol: **OKB**\
> Block explorer URL: **<https://www.oklink.com/xlayer>**
