> For the complete documentation index, see [llms.txt](https://doc.nodedao.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.nodedao.com/subdao/staking-filecoin/connect-with-metamask.md).

# 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

| ![](/files/g3EOWVOzp6EKrP4DFjm7) | ![](/files/WsSIkDcWS2xCThd9QRlw) | ![](/files/IgoJIj7V4PlnBEk7ol3l) |
| -------------------------------- | -------------------------------- | -------------------------------- |
| 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="/files/Rtod60ReL4WE3cMGNBMr" alt=""><br></p> | ![](/files/iiPC6ol2GA94wPASdXdR)                                                    |
| --------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| 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="/files/7dW2WjrnFqGrEj17Sn6y" alt=""><figcaption></figcaption></figure>
* Click "Connect Wallet"\ <br>

  <figure><img src="/files/Zd9S6QRgA7zX6FzJlwuT" alt=""><figcaption></figcaption></figure>
* Click on "Approve" to allow the site to add the network<br>

  <figure><img src="/files/FjZ3d65DcwKg9kohmr1I" alt=""><figcaption></figcaption></figure>
* Click on "Switch Network" to connect to Filecoin Mainnet<br>

  <figure><img src="/files/UfcbcBHqL3oSKvKguLpk" alt=""><figcaption></figcaption></figure>
* Upon Success, MetaMask will automatically switch to the Filecoin-EVM network<br>

  <figure><img src="/files/GorNotQaQ66BDu9ZXxfs" 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="/files/NDaLCGHReRvcFdZLcoOR" 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="/files/TiEcr6QiMhQnRqHNOj0s" 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="/files/6duUqRZxTqIGISN6dNGV" 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="/files/CJzJz9ryAkGpYOsYLUl1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/wNAEX2JdHOewi3iTUUuu" alt=""><figcaption></figcaption></figure>

![](/files/irptWEnv4CVAU6q7FXy1)

{% 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;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.nodedao.com/subdao/staking-filecoin/connect-with-metamask.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
