# Connect with Metamask

Prerequisite

* **MetaMask Wallet**\
  New to MetaMask? Follow our [step-by-step guide](https://doc.nodedao.com/crypto-wallets/metamask-guide) to set up your MetaMask Wallet and start securely managing your digital assets today.

### Staking Guide

#### Step 1) Add the FIL chain in the MetaMask wallet

Currently, there are two ways to add the Filecoin Network to MetaMask:

* Manual addition - input the information directly into MetaMask.
* Automated addition - use the [HashKing official staking website](https://www.hashking.fi) to add the information automatically.

#### **1.1 Here are the steps to manually add the FIL chain to MetaMask:**

* Click on "Extensions" and open the "MetaMask" extension
* Switch the network in "MetaMask" setting

| ![](https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/XrYiqUvYuHZOuB906Opc/image.png) | ![](https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/wnUd3hTwupYiNvm64D5w/image.png) | ![](https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/lPsiYAbBJRkUbHg9GpCb/image.png) |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| Click on the current network                                                                       | click "Add network"                                                                                | click"add a network manually"                                                                      |

<figure><img src="https://chainupgroup.larksuite.com/space/api/box/stream/download/asynccode/?code=YjdmYjI0NGM5NDNkZTkyOWY4N2EwYzI3MjVmMTFlNjVfM2FKMHUweEZFMjg4dTN0NEZqTDI2Rms3THVGV1gyeWxfVG9rZW46Ym94dXNKVk1pTkFjN2RDMlZDYjg2ZGlFSmZoXzE2Nzk5MDM5MTk6MTY3OTkwNzUxOV9WNA" alt=""><figcaption></figcaption></figure>

* Setup Filecoin-EVM network on MetaMask
  * Network name：Filecoin-mainnet
  * New RPC URL：<https://filecoin.chainup.net/rpc/v1>
  * Chain ID：314
  * Currency symbol：FIL
  * Block explorer URL: [https://filfox.info/en](https://hecoinfo.com/)

| <p><img src="https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/tR10bIpbQPzraynjTgLB/image.png" alt=""><br></p> | ![](https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/qMMlKldhH1AJZHOZEgaG/image.png) |
| --------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| click "save"                                                                                                                | Once added successfully, MetaMask will automatically switch to the Filecoin mainnet                |

#### **1.2 Steps for automatically adding the FIL chain to Metamask through HashKing**

* Go to the [HashKing official website](https://www.hashking.fi)\ <br>

  <figure><img src="https://955156677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEDtzgJGCFY9PdK2RuoTc%2Fuploads%2FN6I9mF0MaI3ag6Izw0hD%2Fimage.png?alt=media&#x26;token=eb56dc2a-b77a-412a-8cfd-7f40c7dd6f66" alt=""><figcaption></figcaption></figure>
* Click "Connect Wallet"\ <br>

  <figure><img src="https://955156677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEDtzgJGCFY9PdK2RuoTc%2Fuploads%2FpmheJuwmMIi5Qp8v5Njr%2Fimage.png?alt=media&#x26;token=af1f8d4e-bbd0-41bd-bf3b-afe27e891820" alt=""><figcaption></figcaption></figure>
* Click on "Approve" to allow the site to add the network<br>

  <figure><img src="https://955156677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEDtzgJGCFY9PdK2RuoTc%2Fuploads%2FfY4t7TMU8ChwtJI7DwZJ%2Fimage.png?alt=media&#x26;token=f32a5de4-aa3f-4fb2-b1db-16e8ce6e6f26" alt=""><figcaption></figcaption></figure>
* Click on "Switch Network" to connect to Filecoin Mainnet<br>

  <figure><img src="https://955156677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEDtzgJGCFY9PdK2RuoTc%2Fuploads%2FujNSTUZOtEneb1YyKsEU%2Fimage.png?alt=media&#x26;token=974ad6f5-cf83-410d-b700-779f9587a9d3" alt=""><figcaption></figcaption></figure>
* Upon Success, MetaMask will automatically switch to the Filecoin-EVM network<br>

  <figure><img src="https://955156677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEDtzgJGCFY9PdK2RuoTc%2Fuploads%2FmHmqjX5V7Pg7DHSc3Rh5%2Fimage.png?alt=media&#x26;token=7732cfc8-a7dd-4e28-8405-36c89d728208" alt=""><figcaption></figcaption></figure>

\
\
**Step 2) Transfer assets to Filecoin-EVM**

Currently, there are different prefixes . The addresses used in the Filecoin-EVM ecosystem start with F4 or 0X. You can view the corresponding addresses in "MetaMask" or "Block Explorer"

* To view Filecoin deposit addresses, copy your MetaMask public address and search the address on an explorer. Here FilFox is shown as an example.

  <figure><img src="https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/PaihgoeFlPGxJrAN2EwL/Screenshot%202023-03-28%20at%206.55.29%20PM.png" alt=""><figcaption><p>MetaMask &#x26; FilFox</p></figcaption></figure>
* Transfer assets to Filecoin-EVM

#### 2.1 Users can transfer Filecoins from other wallets or exchanges to MetaMask wallet address

The [ChainUp Custody Wallet](https://doc.nodedao.com/crypto-wallets/chainup-custody) solution is available to exchange FIL native network assets to FEVM

{% hint style="info" %}
In the wallet, there are two types of Filecoin Networks, Filecoin-EVM network (FEVM)  and Filecoin Native Network. The assets are not interoperable.
{% endhint %}

#### Steps to transfer FIL native network assets to FEVM with ChainUp Custody

1. **Get the payment address of the&#x20;**<mark style="color:blue;">**FIL Native Network**</mark>

<figure><img src="https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/HWvhP4XHmX7yMNtkalkA/Screenshot%202023-03-28%20at%208.21.18%20PM.png" alt=""><figcaption><p>Swipe left to quickly view the payment address or click to enter the currency details page to view the payment address.</p></figcaption></figure>

2. **Get the payment address of&#x20;**<mark style="color:blue;">**FEVM**</mark>

<figure><img src="https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/nmZptgeeLDW4VJaJ7zXZ/Screenshot%202023-03-28%20at%208.28.58%20PM.png" alt=""><figcaption><p>(FEVM) supports two different formats of payment addresses, transfer to any address that can receive the corresponding assets</p></figcaption></figure>

3. **Transfer assets to the FEVM network**

<figure><img src="https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/M33BYSmYlMTkoTeXGirM/Screenshot%202023-03-28%20at%208.38.15%20PM.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/3HcHNFeCtKaAu3GPlN4p/Screenshot%202023-03-28%20at%208.43.07%20PM.png" alt=""><figcaption></figcaption></figure>

![](https://content.gitbook.com/content/EDtzgJGCFY9PdK2RuoTc/blobs/SCnjlE041BaELtxlzPFX/Screenshot%202023-03-28%20at%208.45.17%20PM.png)

{% hint style="info" %}
Important: Please ensure that the receiving network is Filecoin-EVM.
{% endhint %}

4. &#x20;**Start staking**

You may now transfer the Filecoin (FEVM) to your MetaMask wallet and start staking with  [HashKing ](https://fil.hashking.fi/stake).&#x20;
