# Quick Mode

## 1.Prerequisite

1. Prepare a Windows or Apple computer, which can open the following two websites:
   * <https://xhash.com>
   * <https://etherscan.io>
2. Register an account with an email address on [xhash.com](https://xhash.com/signUp)
3. Install a wallet that supports WalletConnect on your phone, such as MetaMask, imToke

{% hint style="info" %}
click [here](https://github.com/xhash-com/xhash-auto-staking-client#supported-wallet) to view the list of supported wallet APPs for [xhash-auto-staking-client](https://github.com/xhash-com/xhash-auto-staking-client)
{% endhint %}

## 2.XHash Client Overview&#x20;

[**`xhash-auto-staking-client`**](https://github.com/xhash-com/xhash-auto-staking-client.git)is an eth fast staking program developed by XHash on the basis of [`wagyu-key-gen`](https://github.com/stake-house/wagyu-key-gen) which is the validators generator recommended by Ethereum.The program is completely open source, and users can view, download and run it on the github website.

## 3.Download address

github：<https://github.com/xhash-com/xhash-auto-staking-client/releases/tag/v1.2.1>

## 4.How to use

### 4.1 Create a new mnemonic or import an existing mnemonic

Double click to open the downloaded program,select `CREATE NEW SECRET RECOVERY PHRASE`或`USE EXISTING SECRET RECOVERY PHRASE`。

{% hint style="info" %}
For security, we recommend you disconnect from the internet to complete this step.
{% endhint %}

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FsEO8RGTxTyDnFuqeX7Ia%2F1-xhashclient%EF%BC%88%E9%A6%96%E9%A1%B5%EF%BC%89.png?alt=media&#x26;token=199e2688-14cd-475a-8bd8-da9ddcd6e7d7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FhMfUo5kLtaK9ZocyOdJL%2F2-xhashclient%EF%BC%88%E5%88%9B%E5%BB%BA%E6%96%B0%E5%8A%A9%E8%AE%B0%E8%AF%8D%EF%BC%89.png?alt=media&#x26;token=af72b2b2-c77f-4356-8742-04aad8584709" alt=""><figcaption><p>創建新助記詞</p></figcaption></figure>

Write down the mnemonic in a safe place. Click `NEXT` to continue.

{% hint style="info" %}
**NOTE:** The mnemonic is the only way to generate your withdrawal key when you wish to withdraw the funds. Please make sure you have kept it safe, preferably offline.
{% endhint %}

### 4.2 Create validator keys

Set `Number of New Keys` and `Password`，Make sure to save the password you set in a safe place. Then click `NEXT`.

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FpY9RdTKqbo4Zm06LPPO6%2F3-xhashclient%EF%BC%88%E9%85%8D%E7%BD%AE%E9%AA%8C%E8%AF%81%E8%80%85%E6%95%B0%E9%87%8F%EF%BC%89.png?alt=media&#x26;token=b7a1345b-ea71-4d80-9fbd-9714ae2fa2ed" alt=""><figcaption></figcaption></figure>

Retype the password you set, and click `NEXT`.

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FCrF6wXaMUH0vipxHjAYh%2F4-xhashclient%EF%BC%88%E9%AA%8C%E8%AF%81%E5%AF%86%E7%A0%81%EF%BC%89.png?alt=media&#x26;token=3a6cc173-9e3b-49d2-a036-3fc6c5c73924" alt=""><figcaption></figcaption></figure>

Choose a folder to save your keys.

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FiqDBfOoNr1u0AVIissaf%2F5-xhashclient%EF%BC%88%E9%80%89%E6%8B%A9%E7%9B%AE%E5%BD%95%EF%BC%89.png?alt=media&#x26;token=35d5e7e6-cfa1-4f45-8c6e-eaf6197213e9" alt=""><figcaption></figcaption></figure>

Create success,Two different files will be generated under the corresponding folder, namely the keystore file（keystore-xxxxxxx.json）and deposit data file（deposit\_data-xxxxxx.json）。

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FoPygmrY3ctv4Vti9BTxd%2F6-xhashclient%EF%BC%88%E9%AA%8C%E8%AF%81%E8%80%85%E5%88%9B%E5%BB%BA%E6%88%90%E5%8A%9F%EF%BC%89.png?alt=media&#x26;token=66921ed8-ab83-4750-a1a7-e5c2361969ba" alt=""><figcaption></figcaption></figure>

### 4.4 Validator deposit

After creating the validator, click Next to enter the deposit page, and select the deposit data file just generated.

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FpEHsUjCN9WHl9KwznRCX%2F7-xhashclient%EF%BC%88%E9%80%89%E6%8B%A9deposit%E6%96%87%E4%BB%B6%EF%BC%89.png?alt=media&#x26;token=44d7a09b-fa46-44d0-98ad-eaaa091bd55b" alt=""><figcaption></figcaption></figure>

After the deposit data file verification is successful, click Next.

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FkmxHdOMKD3mJg22XUAnu%2F8-xhashclient%EF%BC%88deposit%E6%96%87%E4%BB%B6%E6%A0%A1%E9%AA%8C%E9%80%9A%E8%BF%87%EF%BC%89.png?alt=media&#x26;token=9542822d-41bb-4b9b-8441-a50e2ce3f963" alt=""><figcaption></figcaption></figure>

click WalletConnect,a QR code appears, scan the QR code with a wallet that supports WalletConnect, and connect to the wallet.

{% hint style="info" %}
From this step onwards, an internet connection is required.
{% endhint %}

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2F5tjCcFyrCdluttvG4lT5%2F8-xhashclient%EF%BC%88%E7%82%B9%E5%87%BBwalletconnect%EF%BC%89.png?alt=media&#x26;token=2ba1ec27-5dd8-43a3-91b0-9c0812de225c" alt=""><figcaption></figcaption></figure>

After the connection is successful, the wallet address and balance will be displayed, then click Next.

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FesoPA9t0HJyxRBNb26Wg%2F9-xhashclient%EF%BC%88%E6%98%BE%E7%A4%BA%E9%92%B1%E5%8C%85%E4%BF%A1%E6%81%AF%EF%BC%89.png?alt=media&#x26;token=6e71a512-41a5-438b-b0d6-728a99a72012" alt=""><figcaption></figcaption></figure>

In the validator list, you can choose the normal mode or the batch mode. When there are multiple validator who are ready to deposit, you can choose the batch mode to reduce the number of times you need to confirm the transaction. In the batch mode, a single transaction can process up to 100 deposits .

#### 4.3.1 Normal Mode

In the validator list, you can view the current validator status, click `CONFIRM DEPOSIT`, and the wallet will be connected to initiate a deposit transaction to the eth2.0 contract address, and 32 eth will be transferred. At this time, a corresponding transaction will appear on the wallet. After the user agrees to sign, the transaction will be sent.

{% hint style="info" %} <mark style="color:red;">**Note**</mark>: The address of the eth2.0 stake contract i&#x73;**`0x00000000219ab540356cBB839Cbe05303d7705Fa`**, when deposit, the user needs to carefully check the deposit address.
{% endhint %}

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FqadjLvm5TLLKIwwZgtpJ%2Fimage.png?alt=media&#x26;token=0bfa70ad-7222-4d73-9862-10d8c9d879fa" alt=""><figcaption></figcaption></figure>

After completing the deposit, click Next.

#### 4.3.2 Batch Mode

Click the slider to switch to batch mode, the page will show you the deposit status of the deposit file you submitted, modify the deposit amount you want to send, make sure the sending amount is less than the available amount, and then click CONFIRM

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FRX8ggaiA97ISIw5ofXVO%2Fimage.png?alt=media&#x26;token=3dc74a57-df70-4f54-b6fb-b8d1fb91adc1" alt=""><figcaption></figcaption></figure>

Click to CONFIRM DEPOSIT, the amount of the deposit will be the number of verifiers \* 32, and wait for the successful sending

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FWWUpJuVBsATIeBvEeLFQ%2Fimage.png?alt=media&#x26;token=9ab5e7b4-c1ef-4d48-8d75-663942e6a7f4" alt=""><figcaption></figcaption></figure>

### 4.5 Upload keystore to XHash

Enter your email address and password, click the login button, and log in to XHash.

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2F1IjqZdvvGIDCmYZXr5ip%2F11-xhashclient%EF%BC%88%E7%99%BB%E5%BD%95xhash%EF%BC%89.png?alt=media&#x26;token=a3df7f6c-5638-4a33-97e8-e12708d45fd3" alt=""><figcaption></figcaption></figure>

Select the previously generated keystore file, enter the corresponding key password, and click Upload.

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FEoEYtFyLgab4fHTTzowl%2F12-xhashclient%EF%BC%88%E4%B8%8A%E6%AC%A1keystore%E5%88%B0xhash%EF%BC%89.png?alt=media&#x26;token=b9d8745f-cdd7-4ca6-86fd-9c27df87ebec" alt=""><figcaption></figcaption></figure>

Upload the keystore successfully, close the program.

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FJGFB9VSI2GuIrLUGRdTu%2F13-xhashclient%EF%BC%88%E5%AE%8C%E6%88%90%EF%BC%89.png?alt=media&#x26;token=242f0dd5-790c-41db-97cf-f883b2331c85" alt=""><figcaption></figcaption></figure>

## 5.Check the status of the validators

Log in to the XHash console to view the status of the validators.

<figure><img src="https://2501310327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlDSnyFNzAHvOoiqX79Bd%2Fuploads%2FH5VrydzGWQt5YaMTTryA%2F14-xhash%EF%BC%88%E9%AA%8C%E8%AF%81%E8%80%85%E7%8A%B6%E6%80%81%EF%BC%89.png?alt=media&#x26;token=d9571c2f-ddd4-48e6-9b84-7f492bbef78b" alt=""><figcaption></figcaption></figure>
