> For the complete documentation index, see [llms.txt](https://docs.chainupcloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chainupcloud.com/validator-node/ethereum/how-to-create-validator-keys.md).

# How to create Validator Keys?

In this tutorial, we'll guide you through the process of generating your Validator Keys. These keys are not just random numbers—they are the digital keys to your assets and transactions, ensuring tha

### **Prerequisites**

**a.** A compatible wallet (currently only supports [**Metamask**](https://metamask.io/)) that holds more than 32 Eth

**b.** Generate `deposit_data-timestamp.json` which can be done through the [**deposit-cli tool**](https://github.com/ethereum/staking-deposit-cli/releases/).&#x20;

{% hint style="info" %}
Specifically, what we actually need is the `withdrawal_credentials` within the `deposit_data-timestamp.json`
{% endhint %}

### 1. Generating `deposit_data`/`withdrawal_credentials`

**Step 1:** Download the deposit CLI app [**here**](https://github.com/ethereum/staking-deposit-cli/releases/), ensuring you've selected the right one for your operating system.

{% hint style="warning" %}
Please make sure that you are downloading from the Ethereum Foundation's official GitHub account - <https://github.com/ethereum/staking-deposit-cli/releases/>
{% endhint %}

<figure><img src="https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FbNPy0EFASNAYZ3J9ykpi%2Fdeposit.png?alt=media&amp;token=7d6378ec-5e66-42b7-ba38-ac2549799323" alt=""><figcaption><p>Select the corresponding executable for your operating system</p></figcaption></figure>

**Step 2:** Once the download is complete, uncompress the downloaded file.

**Step 3:** Open your command line/terminal.

<figure><img src="https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FpBD7DpvuspDI2To0jt3c%2Fterminal.PNG?alt=media&amp;token=a2e85ed9-8089-453c-b254-5b7579e617a9" alt=""><figcaption><p>Open a terminal</p></figcaption></figure>

**Step 4:** navigate (`cd`) to the directory containing the executable **`deposit`** file.&#x20;

<figure><img src="https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FigJCemVYxTZOeDkPDSAl%2Fcd.PNG?alt=media&amp;token=a361d851-518e-4ecd-b86b-25b8d25f3ea2" alt=""><figcaption><p><code>cd</code> to the directory containing the executable</p></figcaption></figure>

**Step 5:** Run the executable with the following command `deposit.exe new-mnemonic --num_validators 1 --chain mainnet` for Windows and `./deposit new-mnemonic --num_validators 1 --chain mainnet` for Linux or MacOS.

<figure><img src="https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FhHeQAwUMzqwX0jgvyrDI%2Fgg.PNG?alt=media&amp;token=f9765128-28ec-418f-aff1-de367511eb19" alt=""><figcaption><p>Generate keys &#x26; <code>deposit_data</code></p></figcaption></figure>

**Step 6:** <mark style="color:red;">Please note down the mnemonic phrase</mark> and locate the `deposit_data` file

<figure><img src="https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FQL3fHXhJ58kFqzbGdZEV%2Fdepo.png?alt=media&amp;token=392b0471-c09a-4021-a6e1-52e34d97073f" alt=""><figcaption><p><code>deposit_data</code> file will be uploaded to ChainUp Cloud later</p></figcaption></figure>

{% hint style="info" %}
You can find alternative key generating tools [here](https://ethereum.org/en/staking/solo/#key-generators) recommended by the Ethereum foundation.
{% endhint %}
