# Connecting to Klaytn

## MetaMask browser extension <a href="#ccdb" id="ccdb"></a>

**Step 1**\
In your unlocked MetaMask wallet, click the network dropdown at the top.

![](https://miro.medium.com/max/714/1*sk5eD0ToFqxuuzpUlaTC3w.jpeg)

**Step 2**\
Select Add Network.

![](https://miro.medium.com/max/714/1*-V7ajzWPxVDZWjCPej_PbQ.jpeg)

**Step 3**\
Fill in the details as below and click Save.

### **Mainnet:**

**Network Name:** Klaytn Mainnet\
**New RPC URL:** <https://public-node-api.klaytnapi.com/v1/cypress>\
**Chain ID:** 8217\
**Currency Symbol:** KLAY\
**Block Explorer URL:** [https://scope.klaytn.com](https://scope.klaytn.com/)

### **Testnet:**

**Network Name:** Klaytn Baobab\
**New RPC URL:** <https://api.baobab.klaytn.net:8651/>\
**Chain ID:** 1001\
**Currency Symbol:** KLAY\
**Block Explorer URL:** <https://baobab.scope.klaytn.com/>

![](https://miro.medium.com/max/1400/1*3u9N0ROnik3dOqXnO70vJw.jpeg)

**Step 4**\
Klaytn is now added to your MetaMask wallet!

![](https://miro.medium.com/max/1400/1*CcQVJ5jiHKsrjwFTTr1BvA.jpeg)

**Important:** SPECIFICALLY FOR METAMASK **you must set both the Max Priority Fee to 250 GWEI and the Max Fee to 250 GWEI or else your transactions will fail for both "approve" and "deposit**." Ignore the warning messages. This is not an issue for other wallets. Detailed below: &#x20;

![](https://2745040883-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYs4SUGez6bYiNyTHgNo2%2Fuploads%2FmiHZohbOl19EVyaYbhqi%2Ftelegram-cloud-photo-size-1-4996793900702214682-y.jpg?alt=media\&token=5bd5700c-eef9-4782-af9c-ca6d0ecb1d6e)

To save the 250 GWEI setting for every transaction, head into your Metamask settings and go under "Experimental" and turn Enable Enhanced Gas Fee UI on.

![](https://2745040883-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYs4SUGez6bYiNyTHgNo2%2Fuploads%2Fc2Jbmm7elPJAmWLChy8k%2Fimage.png?alt=media\&token=e9b3016e-35b6-4dc7-b7a1-396c0c596464)

When performing a transaction on Klap, select "Advanced" and save the gas fee as 250 GWEI in both fields

![](https://2745040883-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYs4SUGez6bYiNyTHgNo2%2Fuploads%2FxYFftqN173wFT4qLsAeH%2Fimage.png?alt=media\&token=4df5a0c3-1f0a-488f-a7df-bd128bdaa5ea)
