Generate Validators Keys

The official tools

Generate Withdrawal Credential

Before you begin the staking process, you'll need to generate a new withdrawal credential. And we can easily do this with the official tools created by the Ethereum foundation.

Download CLI app

Step 1: Download the deposit command line interface app for your operating system

Step 2: Generate deposit keys using the Ethereum Foundation deposit tool

For security, we recommend you disconnect from the internet to complete this step.

  • Decompress the file you just downloaded

  • Use the terminal to move into the directory that contains the deposit executable

  • Run the following command to launch the app

./deposit new-mnemonic --chain mainnet
  • Now follow the instructions presented to you in the terminal window to generate your keys.

Download Key Gen GUI app

Step 1: Download the Wagyu Key Gen app for your operating system

Step 2: Generate deposit keys using the Ethereum Foundation deposit tool

For security, we recommend you disconnect from the internet to complete this step.

  • Make the file you just downloaded executable.

  • Launch the app from your desktop environment by double clicking on it.

  • Follow the instructions presented to you in the application to generate your keys.

Build from source

Choose the OS of the computer you're currently using. This will be the computer you use to generate your keys. It doesn't need to be the OS you want to use for your node.

Linux

Install python3.7+

The python3 install process may differ depending on your linux build.If you need help, check out the Python documentation.

Python installation instructions

You can check your Python version by typing python3 -V in your terminal.

Install pip3

You can install pip using a Linux Package Manager like apt or yum.More on installing pip

Install virtualenv

virtualenv would help you to create an isolated Python environment for deposit-cli tool.More on virtualenv

Install deposit-cli tool

Download and uncompress the master branch source code from GitHub.

DOWNLOAD MASTER BRANCH SOURCE CODE

If you’re a git user, you can run git clone -b master --single-branch https://github.com/ethereum/staking-deposit-cli.git to download the master branch.

First, create a venv virtualenv under repository directory:

virtualenv venv
source venv/bin/activate

Second, install the dependency packages:

python3 setup.py install
pip3 install -r requirements.txt

Generate deposit keys using the Ethereum Foundation deposit tool

For security, we recommend you disconnect from the internet to complete this step.

Type the following lines into the terminal window:

python3 ./staking_deposit/deposit.py new-mnemonic --chain mainnet

Windows

Install python3.7+

Download python3 and follow the installation instructions.

If you need help, check out the Python documentation.Python installation instructions

You can check your Python version by typing python -V in your terminal.

Install pip3

The latest version of pip should have been installed with python 3.x.x. For more information about installing pip on Windows, visit pip . Or you can install the pip package via Chocolatey.

Install virtualenv

virtualenv would help you to create an isolated Python environment for deposit-cli tool.More on virtualenv

Install deposit-cli tool

Download and uncompress the master branch source code from GitHub.

DOWNLOAD MASTER BRANCH SOURCE CODE

If you’re a git user, you can run git clone -b master --single-branch https://github.com/ethereum/staking-deposit-cli.git to download the master branch.

First, create a venv virtualenv under repository directory:

virtualenv venv
.\venv\Scripts\activate

Second, install the dependency packages:

python setup.py install
pip3 install -r requirements.txt

Generate deposit keys using the Ethereum Foundation deposit tool

For security, we recommend you disconnect from the internet to complete this step.

Type the following lines into the terminal window:

.\staking_deposit\deposit.py new-mnemonic --chain mainnet

Mac

Install python3.7+

You can install python3 on your macOS device using HomebrewIf you need help, check out the Python documentation.Python installation instructions

You can check your Python version by typing python3 -V in your terminal.

Install pip3

You can also use homebrew to install pip3. For the most-up-to-date instructions on installing pip3, and for a direct download link, reference the pip documentation

Install virtualenv

virtualenv would help you to create an isolated Python environment for deposit-cli tool.More on virtualenv

Install deposit-cli tool

Download and uncompress the master branch source code from GitHub.

DOWNLOAD MASTER BRANCH SOURCE CODE

If you’re a git user, you can run git clone -b master --single-branch https://github.com/ethereum/staking-deposit-cli.git to download the master branch.

First, create a venv virtualenv under repository directory:

virtualenv venv
source venv/bin/activate

Second, install the dependency packages:

python3 setup.py install
pip3 install -r requirements.txt

Generate deposit keys using the Ethereum Foundation deposit tool

For security, we recommend you disconnect from the internet to complete this step.

Type the following lines into the terminal window:

python3 ./staking_deposit/deposit.py new-mnemonic --chain mainnet

Last updated