# 与 Metamask 连接

### &#x20;先决条件

* **MetaMask 钱包**\
  MetaMask 新用户？ 按照我们的分步指南设置您的 MetaMask 钱包，立即开始安全地管理您的数字资产。

### 质押指南

#### 1. 在MetaMask钱包中添加FIL链

目前，有两种方法可以将 Filecoin Network 添加到 MetaMask：

* 手动添加 - 将信息直接输入到 MetaMask 中。
* &#x20;自动添加——使用 [HashKing 质押官网](https://www.hashking.fi/) 自动添加信息。

#### **1.1** 下面是手动添加FIL链到MetaMask的步骤：

* 单击“扩展”并打开“MetaMask”扩展
* 在“MetaMask”设置中切换网络

| ![](/files/g3EOWVOzp6EKrP4DFjm7) | ![](/files/WsSIkDcWS2xCThd9QRlw) | ![](/files/IgoJIj7V4PlnBEk7ol3l) |
| -------------------------------- | -------------------------------- | -------------------------------- |
| 点击当前网络                           | 点击“添加网络”                         | 点击“手动添加网络”                       |

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

* 在 MetaMask 上设置 Filecoin-EVM 网络
  * 网络名称：Filecoin-mainnet
  * 新RPC URL：<https://filecoin.chainup.net/rpc/v1>
  * 链号：314
  * &#x20;货币符号：FIL
  * &#x20;区块浏览器网址：<https://filfo>

| <p><img src="/files/Rtod60ReL4WE3cMGNBMr" alt=""><br></p> | ![](/files/iiPC6ol2GA94wPASdXdR) |
| --------------------------------------------------------- | -------------------------------- |
| 点击“保存”                                                    | 添加成功后，MetaMask会自动切换到Filecoin主网   |

#### **1.2** 通过 HashKing 自动将FIL链添加到Metamask的步骤

* 前往 [HashKing 官网](https://www.hashking.fi/)\
  \
  &#x20;

  <figure><img src="/files/BWa0sTwdDMhUtfRTwNF3" alt=""><figcaption><p>按以下下拉按钮 - Stake Fil</p></figcaption></figure>
* 点击“连接钱包”

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

选择 MetaMask 并单击下一步

<figure><img src="/files/mfQVZPwxJptzAkimZc9J" alt=""><figcaption><p>点击“同意”允许站点添加网络</p></figcaption></figure>

* &#x20;单击“切换网络”以连接到 Filecoin 主网\ <br>

  <figure><img src="/files/n8heEh5bIsfo8s1gc9CH" alt=""><figcaption></figcaption></figure>
* 成功后，MetaMask 将自动切换到 Filecoin-EVM 网络<br>

  <figure><img src="/files/749cvfWt519rTdh43Hqy" alt=""><figcaption></figcaption></figure>

#### 2.  将资产转移到 Filecoin-EVM

&#x20;目前，有不同的前缀。 Filecoin-EVM 生态系统中使用的地址以 F4 或 0X 开头。 您可以在“MetaMask”或“区块浏览器”中查看对应地址

* 要查看 Filecoin 存款地址，请复制您的 MetaMask 公共地址并在资源管理器上搜索该地址。 这里以 FilFox 为例。

  <figure><img src="/files/NDaLCGHReRvcFdZLcoOR" alt=""><figcaption><p>MetaMask &#x26; FilFox</p></figcaption></figure>
* &#x20;将资产转移到 Filecoin-EVM

#### 2.1  用户可以将Filecoin从其他钱包或交易所转入MetaMask钱包地址

[ChainUp Custody Wallet方案 ](https://doc.nodedao.com/crypto-wallets/chainup-custody)上线，将FIL原生网络资产兑换成FEVM

{% hint style="info" %}
在钱包中，有两种类型的 Filecoin 网络，Filecoin-EVM 网络（FEVM）和 Filecoin Native Network。 这些资产不可互操作。
{% endhint %}

#### &#x20;使用 ChainUp Custody 将 FIL 原生网络资产转移到 FEVM 的步骤

1. 获取  <mark style="color:blue;">**FIL Native Network**</mark>  的支付地址

<figure><img src="/files/TiEcr6QiMhQnRqHNOj0s" alt=""><figcaption><p> 向左滑动快速查看收款地址或点击进入币种详情页查看收款地址。</p></figcaption></figure>

2. &#x20;获取 **FEVM** 的支付地址

<figure><img src="/files/6duUqRZxTqIGISN6dNGV" alt=""><figcaption><p>(FEVM) 支持两种不同格式的支付地址，转账到任何可以接收对应资产的地址</p></figcaption></figure>

3. &#x20;**将资产转移到 FEVM 网络**

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

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

![](/files/irptWEnv4CVAU6q7FXy1)

{% hint style="info" %}
重要提示：请确保接收网络是 Filecoin-EVM。
{% endhint %}

4. &#x20;**Start staking** 开始质押

您现在可以将 Filecoin (FEVM) 转移到您的 MetaMask 钱包并开始使用 [HashKing ](https://fil.hashking.fi/stake)进行质押。


---

# Agent Instructions: 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:

```
GET https://doc.nodedao.com/nodedao-wen-dang/subdao/zhi-ya-filecoin/yu-metamask-lian-jie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
