# Connect your wallet to Xai

You'll need to add the desired chain's RPC endpoint to your wallet. Here we provide an example for doing this using MetaMask, although the process should be similar for other wallets. You need to first click on the MetaMask extension on your browser, click the network selector dropdown on the top-left corner, and then click the `Add Network` button at the bottom. Click "Add a network manually" and then provide the information corresponding to the chain you want to send your assets to.

{% hint style="info" %}
If you do not have a Metamask wallet, you can create one here: <https://metamask.io/>.
{% endhint %}

<figure><img src="https://content.gitbook.com/content/neke8a6D4Ybg9dkRA2GD/blobs/4Adz7WX2UitBd9d0eEZf/image.png" alt="" width="284"><figcaption><p>Xai selected as the network in Metamask wallet</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/neke8a6D4Ybg9dkRA2GD/blobs/novq5WDdk2PhUyf099Ad/Screenshot%202024-09-17%20at%2010.59.28%E2%80%AFAM.png" alt=""><figcaption><p>Adding a custom network to Metamask wallet</p></figcaption></figure>

Here is the information necessary to add Xai Mainnet and Xai Testnet as networks in your wallet:

| Network name       | Xai Mainnet                 | Xai Testnet (Sepolia)                  |
| ------------------ | --------------------------- | -------------------------------------- |
| RPC URL            | <https://xai-chain.net/rpc> | <https://testnet-v2.xai-chain.net/rpc> |
| Chain ID           | 660279                      | 37714555429                            |
| Currency symbol    | XAI                         | sXAI                                   |
| Block explorer URL | <https://xaiscan.io/>       | <https://sepolia.xaiscan.io/>          |

{% hint style="success" %}
Xai currently supports three robust block explorers: [Xaiscan](https://xaiscan.io/) (based on Etherscan), [Blockscout](https://explorer.xai-chain.net/) and [Dora](https://www.ondora.xyz/network/xai-mainnet/interactions). Feel free to use any block explorer as your wallet's default option.
{% endhint %}
