- Pre-production warning
- Tutorial for users
- Build requirements
- For Linux or MacOS users
- For Windows users
- Development
This software is a pre-release version which has not yet been audited and therefore should not yet be trusted to generate keys with the intent of securing actual ETH.
See releases page to download and decompress the corresponding binary files.
Run the following command to enter the interactive CLI:
./deposit
You can also run the tool with optional arguments:
./deposit --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
You can use --help
flag to see all arguments.
Argument | Type | Description |
---|---|---|
--num_validators |
Non-negative integer | The number of signing keys you want to generate. Note that the child key(s) are generated via the same master key. |
--mnemonic_language |
String. Options: czech , chinese_traditional , chinese_simplified , english , spanish , italian , korean . Default to english |
The mnemonic language |
--folder |
String. Pointing to ./validator_keys by default |
The folder path for the keystore(s) and deposit(s) |
--chain |
String. mainnet by default |
The chain setting for the signing domain. |
You will see the following messages after successfully generated the keystore(s) and the deposit(s):
Creating your keys.
Saving your keystore(s).
Creating your deposit(s).
Verifying your keystore(s).
Verifying your deposit(s).
Success!
Your keys can be found at: <YOUR_FOLDER_PATH>
Ensure you are using Python version >= Python3.7:
python3 -V
Install the dependencies:
pip3 install -r requirements.txt
python3 setup.py install
Or use the helper script:
./deposit.sh install
Run the following command to enter the interactive CLI:
./deposit.sh
You can also run the tool with optional arguments:
./deposit.sh --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
See here
See here
Ensure you are using Python version >= Python3.7:
python3 -V
For the virtualenv users, you can create a new venv:
pip3 install virtualenv
virtualenv venv
source venv/bin/activate
and install the dependencies:
python3 setup.py install
pip3 install -r requirements.txt
Run the following command to enter the interactive CLI:
python3 ./eth2deposit/deposit.py
You can also run the tool with optional arguments:
python3 ./eth2deposit/deposit.py --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
See here
See here
Run the following command to locally build the docker image:
make build_docker
Run the following command to enter the interactive CLI:
docker run -it --rm -v $(pwd)/validator_keys:/app/validator_keys ethereum/eth2.0-deposit-cli
You can also run the tool with optional arguments:
docker run -it --rm -v $(pwd)/validator_keys:/app/validator_keys ethereum/eth2.0-deposit-cli --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --folder=<YOUR_FOLDER_PATH>
Example for 1 validator on the Medalla testnet using english:
docker run -it --rm -v $(pwd)/validator_keys:/app/validator_keys ethereum/eth2.0-deposit-cli --num_validators=1 --mnemonic_language=english --chain=medalla
See here
See here
See releases page to download and decompress the corresponding binary files.
Run the following command to enter the interactive CLI:
deposit.exe
You can also run the tool with optional arguments:
deposit.exe --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
See here
See here
Ensure you are using Python version >= Python3.7 (Assume that you've installed Python 3 as the main Python):
python -V
Install the dependencies:
pip3 install -r requirements.txt
python setup.py install
Or use the helper script:
sh deposit.sh install
Run the following command to enter the interactive CLI:
sh deposit.sh
You can also run the tool with optional arguments:
sh deposit.sh --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
See here
See here
Ensure you are using Python version >= Python3.7 (Assume that you've installed Python 3 as the main Python):
python -V
For the virtualenv users, you can create a new venv:
pip3 install virtualenv
virtualenv venv
.\venv\Scripts\activate
and install the dependencies:
python setup.py install
pip3 install -r requirements.txt
Run the following command to enter the interactive CLI:
python .\eth2deposit\deposit.py
You can also run the tool with optional arguments:
python .\eth2deposit\deposit.py --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
See here
See here
python3 -m pip install -r requirements.txt
python3 setup.py install
python3 -m pip install -r requirements_test.txt
python3 -m pytest .