> For the complete documentation index, see [llms.txt](https://docs.merlinchain.io/merlin-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.merlinchain.io/merlin-docs/developers/builder-guides/developer-tools/wallet/connecting-to-merlin-via-evm-wallet.md).

# Connecting to Merlin via EVM wallet

Merlin is EVM compatible，you can connect to Merlin via your familiar EVM wallet as usual.

Here is the public RPC endpoints you can use:

**MetaMask**

To add Merlin as a custom network to MetaMask:

1. Open the MetaMask browser extension.
2. Open the network selection dropdown menu by clicking the dropdown button at the top of the extension.
3. Click the Add network button
4. Click Add a network manually.
5. In the Add a network manually dialog that appears, enter the public RPC endpoints as the following

**Mainnet**

<table><thead><tr><th width="198">Name</th><th>Value</th></tr></thead><tbody><tr><td>Network Name</td><td>Merlin Mainnet</td></tr><tr><td>Description</td><td>The public Mainnet for Merlin</td></tr><tr><td>RPC URL</td><td>https://rpc.merlinchain.io</td></tr><tr><td>Chain ID</td><td>4200</td></tr><tr><td>Currency Symbol</td><td>BTC</td></tr><tr><td>Block Explorer</td><td>https://scan.merlinchain.io</td></tr></tbody></table>

**Testnet**

<table><thead><tr><th width="191">Name</th><th>Value</th></tr></thead><tbody><tr><td>Network Name</td><td>Merlin Testnet</td></tr><tr><td>Description</td><td>The public testnet for Merlin</td></tr><tr><td>RPC URL</td><td>https://testnet-rpc.merlinchain.io</td></tr><tr><td>Chain ID</td><td>686868</td></tr><tr><td>Currency Symbol</td><td>BTC</td></tr><tr><td>Block Explorer</td><td>https://testnet-scan.merlinchain.io</td></tr></tbody></table>
