# 开始使用 JuChain

### 在 MetaMask 钱包中使用 JuChain 主网

1. 点击 MetaMask 左上角的网络选择下拉菜单
2. 点击 "添加自定义网络"
3. 填写以下网络信息并点击保存：
   * 网络名称：JuChain Mainnet
   * RPC 地址：<https://rpc.juchain.org>
   * 链 ID：210000
   * 货币符号：JU
   * 区块浏览器：[http://juscan.io](http://testnet.juscan.io)

这将引导您完成使用 Juchain 设置和配置 MetaMask 钱包的步骤。\
**注意**：建议您通过 Chrome 进行设置。<br>

**步骤 1 - 安装 MetaMask**\
前往 MetaMask 的[网站](https://metamask.io/)然后点击下载你所选浏览器的扩展程序。请确保该扩展程序是由 `metamask.io` 提供的。

<figure><img src="https://juchain.gitbook.io/~gitbook/image?url=https%3A%2F%2Fdocs.berachain.com%2Fassets%2Fmetamask-chrome-store.png&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=7dd904dc&#x26;sv=2" alt=""><figcaption><p>  Metamask Chrome 商店</p></figcaption></figure>

\
**第 2 步 - 在 MetaMask 中创建您的钱包**\
MetaMask 作为 Chrome 扩展程序完成安装后，将显示初始提示。点击 `Create a new wallet` 按钮即可开始此过程。

Metamask 入门

<figure><img src="https://juchain.gitbook.io/~gitbook/image?url=https%3A%2F%2Fdocs.berachain.com%2Fassets%2Fmetamask-get-started.png&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=2fcfe81a&#x26;sv=2" alt=""><figcaption></figcaption></figure>

\
这会要求您首先设置密码。这是您打开 MetaMask 扩展程序时需要输入的密码：

Metamask 创建密码

<figure><img src="https://juchain.gitbook.io/~gitbook/image?url=https%3A%2F%2Fdocs.berachain.com%2Fassets%2Fmetamask-create-password.png&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=2dfa4648&#x26;sv=2" alt=""><figcaption></figcaption></figure>

\
接下来，按照说明保护你的钱包密码。这一步非常重要，因为钱包密码用于证明你拥有钱包中的资产。

<figure><img src="https://juchain.gitbook.io/~gitbook/image?url=https%3A%2F%2Fdocs.berachain.com%2Fassets%2Fmetamask-recovery-phrase.png&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=a77fef21&#x26;sv=2" alt=""><figcaption><p> Metamask 恢复短语</p></figcaption></figure>

\
🎉恭喜！您已设置好 MetaMask 钱包！

**Step 3: Add JuChain Mainnet**\
**步骤 3：添加 JuChain 主网**

1. 点击 MetaMask 左上角的网络选择下拉菜单
2. 点击“添加自定义网络”

<figure><img src="https://juchain.gitbook.io/~gitbook/image?url=https%3A%2F%2F2354961557-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FFnN8dEv4ODUZJaBUfPrL%252Fuploads%252Fb5pJggaX7dQSchYTd3lZ%252F%25E6%2588%25AA%25E5%25B1%258F2025-06-24%2520%25E4%25B8%258B%25E5%258D%25882.24.48.png%3Falt%3Dmedia%26token%3D306c1b08-1aac-49a0-a71b-ce228f88fda4&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=55663040&#x26;sv=2" alt=""><figcaption></figcaption></figure>

3.填写以下网络信息，点击保存：

* 网络名称：JuChain 主网
* RPC URL

<figure><img src="https://juchain.gitbook.io/~gitbook/image?url=https%3A%2F%2F2354961557-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FFnN8dEv4ODUZJaBUfPrL%252Fuploads%252FFzPVU01YOew9ADLsL0MH%252F%25E6%2588%25AA%25E5%25B1%258F2025-06-24%2520%25E4%25B8%258B%25E5%258D%25882.27.01.png%3Falt%3Dmedia%26token%3D8aa65322-2c87-4f6f-847b-c894e254d6be&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e55ce805&#x26;sv=2" alt=""><figcaption></figcaption></figure>

* 链 ID：210000
* 符号：JU
* 区块浏览器： [http://juscan.io](http://testnet.juscan.io/)

<figure><img src="https://juchain.gitbook.io/~gitbook/image?url=https%3A%2F%2F2354961557-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FFnN8dEv4ODUZJaBUfPrL%252Fuploads%252FlbgIWlUlsgMPxeLumdM9%252F%25E6%2588%25AA%25E5%25B1%258F2025-06-24%2520%25E4%25B8%258B%25E5%258D%25882.28.25.png%3Falt%3Dmedia%26token%3D617e7929-04d8-4291-8b7d-8e105f84342d&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=daff7b25&#x26;sv=2" alt=""><figcaption></figcaption></figure>

* 确认所有消息。

<figure><img src="https://juchain.gitbook.io/~gitbook/image?url=https%3A%2F%2F2354961557-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FFnN8dEv4ODUZJaBUfPrL%252Fuploads%252FnFoN2ZuowomyuEXcCUE3%252F%25E6%2588%25AA%25E5%25B1%258F2025-06-24%2520%25E4%25B8%258B%25E5%258D%25882.29.36.png%3Falt%3Dmedia%26token%3D8b11a495-ad78-4c64-854a-084c0f89f24e&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=ccce9e7a&#x26;sv=2" alt=""><figcaption></figcaption></figure>

4.点击“保存”。\
保存网络配置后，您应该已连接到 Juchain 主网！

<figure><img src="https://juchain.gitbook.io/~gitbook/image?url=https%3A%2F%2F2354961557-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FFnN8dEv4ODUZJaBUfPrL%252Fuploads%252FS8YI5CsEpkeiSeSF0MpL%252F%25E6%2588%25AA%25E5%25B1%258F2025-06-24%2520%25E4%25B8%258B%25E5%258D%25882.35.09.png%3Falt%3Dmedia%26token%3Da0ad99ba-40c0-4890-b4e5-d1ccc30f3f16&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=96e8d802&#x26;sv=2" alt=""><figcaption><p>增加成功提示</p></figcaption></figure>

<figure><img src="https://juchain.gitbook.io/~gitbook/image?url=https%3A%2F%2F2354961557-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FFnN8dEv4ODUZJaBUfPrL%252Fuploads%252FnyGOZuMKZcT6eHvptV8H%252F%25E6%2588%25AA%25E5%25B1%258F2025-06-24%2520%25E4%25B8%258B%25E5%258D%25882.36.15.png%3Falt%3Dmedia%26token%3D4adea3e8-d9fd-4218-82d1-2906d1e8b75c&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=addf5d96&#x26;sv=2" alt=""><figcaption><p>余额界面</p></figcaption></figure>

**常见问题**

1. 如果添加网络失败，请检查：
   * 网络参数输入正确
   * 网络连接稳定
   * MetaMask 已更新
2. 如果无法获取测试令牌：
   * 确保钱包地址复制正确
   * 每个地址都有每日领取限额
   * 稍后再试
3. 如果看不到余额：
   * 确保您已切换到 JuChain 主网
   * 点击 MetaMask 中的刷新按钮
   * 检查网络连接

**重要说明**\
如果遇到问题，请通过社区寻求帮助


---

# 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://juchain.gitbook.io/juchain-docs/zh/kai-shi-shi-yong-juchain.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.
