# 專家模式

## 1.前置準備

1. 準備一臺Windows或蘋果電腦，能打開下面兩個網站：
   * <https://xhash.com>
   * <https://launchpad.ethereum.org>
   * <https://deposit.xhash.com:9000/zh-tw> (可選)
2. 安裝MateMask插件版錢包，建議使用chrome瀏覽器。(以太坊官方啓動面板不支持手機版錢包)
3. 在[xhash.com](https://xhash.com/signUp)上用錢包或者郵箱注冊一個賬戶

## 2. 生成提款憑證

在開始質押 ETH 之前，您必須生成提款憑證。您可以使用以太坊基金會創建的官方工俱生成提款憑證密鑰對。

### 2.1 使用 CLI 應用程序生成

a) 在 [此處 ](https://github.com/ethereum/staking-deposit-cli/releases/)下載官方存款命令行界面 (CLI) 應用程序。根據您的操作系統選擇正確的一個。

{% hint style="warning" %}
注意：請通過驗證 url 確保您從官方 Ethereum Foundation GitHub 帳戶下載：https ://github.com/ethereum/staking-deposit-cli/releases/
{% endhint %}

![](/files/1aYVwNhXc1IPcSoUs6Wz)

b) 解壓剛剛下載的文件。

c) 使用終端進入包含deposit可執行文件的目錄。

d) 運行以下命令生成提現憑證。

{% hint style="info" %}
為安全起見，我們建議您斷開互聯網連接以完成
{% endhint %}

```
./deposit new-mnemonic --num_validators 1 --chain mainnet
```

{% hint style="warning" %}
**注意：**&#x8ACB;確保您已設置--chain mainnet
{% endhint %}

按照終端窗口中提供給您的說明進行操作。確保將您設置的密碼和助記詞寫在安全的地方。

{% hint style="warning" %}
**注意：**&#x7576;您希望提取資金時，助記符是生成取款密鑰的唯一方法。請確保您已將其安全保存，最好是離線。
{% endhint %}

e) 請在新創建的validator\_keys目錄中找到deposit\_data.json文件。這個 json 文件包含您的提款憑證的公鑰，您需要在質押時上傳它。再次請注意，您需要上傳的提款憑證是公鑰。XHash 將無法訪問您的提款密鑰或 ETH 代幣。

### 2.2 使用 Key Gen GUI 應用程序生成

我們在本教程中使用以[太坊官方啟動板](https://launchpad.ethereum.org/en/generate-keys)推薦的Wagyu Key Gen GUI 應用程序。

![](/files/bj2VpAIJiRreK7GeO4p5)

a) 在 [此處 ](https://github.com/stake-house/wagyu-key-gen/releases)下載適用於您的操作系統的 Wagyu Key Gen 應用程序。

查看HashCloak對 Wagyu Key Gen 的[審計報告](https://github.com/stake-house/wagyu-key-gen/files/7693548/Wagyu.Key.Gen.Audit.Report.pdf)。

{% hint style="warning" %}
注意：請確保您通過驗證 url 從官方 StakeHouse GitHub 帳戶下載：https ://github.com/stake-house/wagyu-key-gen/releases
{% endhint %}

![](/files/m9ybo3YN5o5PlzIohGF9)

b) 雙擊啟動您剛剛下載的 Wagyu Key Gen 應用程序。

{% hint style="info" %}
為安全起見，我們建議您斷開互聯網連接以完成此步驟。
{% endhint %}

c) 按照申請中提供給您的說明進行操作。您可以創建新的秘密恢復短語或使用現有的秘密恢復短語。要創建新的秘密恢復短語，請單擊CREATE NEW SECRET RECOVERY PHRASE。

![](/files/OUFp5RIh9vH5cqmYVmgH)

d) 選擇Mainnet並單擊OK。

![](/files/G894Pne8Vx4y7R82EyAi)

e) 單擊CREATE以創建秘密助記詞。

![](/files/TItgYhlDNXbGXYZAMg2Y)

f) 將助記詞記在安全的地方。單擊NEXT以繼續。

{% hint style="warning" %}
**注意：**&#x7576;您希望提取資金時，助記符是生成取款密鑰的唯一方法。請確保您已將其安全保存，最好是離線。
{% endhint %}

![](/files/uivIoiAnuZer96TROEiO)

g) 輸入秘密恢復短語，然後單擊CHECK。

![](/files/D2fi6TfsBxGAo3XsKy7i)

h) 設置要創建的驗證者key數量及密碼，確保將您設置的密碼保存在安全的地方。然後單擊`NEXT。`

![](/files/8fa5Tee3WPxAhb99DmxW)

i) 重新輸入您設置的密碼，然後單擊NEXT。

![](/files/CviVXxztYuhDrhTk1sqd)

j) 選擇一個文件夾來保存您的密鑰。

![](/files/YWeDj6Bja5OFWKDeoK3U)

k) 創建完成，在對應文件夾下會生成兩個不同文件，分別是keystore 文件（keystore-xxxxxxx.json）和deposit data文件（deposit\_data-xxxxxx.json）。

![](/files/S56EOQEgGJV4PF0A6HKh)

## 3.存款

您可以使用[以太坊官方啓動板](https://launchpad.ethereum.org/zh)發送交易，或者使用我們的[批量充值功能](https://deposit.xhash.com:9000/zh-tw)輕鬆完成多次充值。

## 3.1使用[以太坊官方啓動板](https://launchpad.ethereum.org/zh)發送交易

### 3.1.1 上傳deposit data到 [以太坊官方啟動板](https://launchpad.ethereum.org/en/generate-keys)

&#x20;回到 [`以太坊官方啟動板`](https://launchpad.ethereum.org/zh) 根據提示前往 上傳存款數據頁面，提交文件，然後點擊繼續

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

### 3.1.2 鏈接錢包

鏈接錢包，確保您的餘額足夠支付本次存款, 并點擊繼續

<figure><img src="/files/4rdgtWNU34hPO1iW4mek" alt=""><figcaption></figcaption></figure>

### 3.1.3 發送交易

點擊確認存款，在錢包上確認交易之後等待交易成功

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

## 3.2使用[我們的批量存款功能](<https://deposit.xhash.com:9000/zh-tw >)轻松完成多笔存款

### 3.2.1上傳deposit data到[我們的批量存款功能](<https://deposit.xhash.com:9000/zh-tw >)

前往 [我們的批量存款頁面](https://deposit.xhash.com:9000) 並按照提示上傳入金數據頁面，提交文件，點擊繼續

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

## 3.2.2 檢查有關您的 Deposit\_Data 的摘要

檢查有關您的存款數據的摘要，然後單擊繼續

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

## 3.2.3 連接錢包

鏈接錢包，確保你的餘額足以支付這筆存款，然後點擊繼續

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

## 3.2.4 發送交易

點擊'發送存款'按鈕發送交易並等待交易成功，通過此頁面單次確認您最多可以發送100筆交易

<figure><img src="/files/6wgBgkDDJqXczHpdDXIe" alt=""><figcaption></figcaption></figure>

## 4. 質押

### 4.1 上傳keystore到XHash

a) 進入XHash官網[`質押`](https://www.xhash.com/staking)頁面，點擊 `開始`。

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

b) 上傳[步驟一](#2.-sheng-cheng-ti-kuan-ping-zheng)中生成的 `keystore.json`文件，同時輸入keystore密碼。

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

c) 仔細閱讀和檢查各項條款，勾選並點擊<mark style="color:blue;">`上傳`</mark>。

<figure><img src="/files/5TOSsLUt1k02roFyh3cU" alt=""><figcaption></figcaption></figure>

### 4.2 查看驗證者狀態

一旦您完成了質押，可以點擊質押儀表板来查看創建的ETH驗證者。您可以查看每個ETH驗證者的地址、狀態、餘額、獎勵和產量。

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

##


---

# 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://docs.xhash.com/cn/staking/fei-tuo-guan-zhi-ya/zhuan-jia-mo-shi.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.
