Other Install Options
Linux or MacOS users
Option 1. Build deposit-cli with native Python
- 
Python version checking Ensure you are using Python version >= Python3.10: python3 -V
- 
Installation Install the dependencies: pip3 install -r requirements.txtOr use the helper script: ./deposit.sh install
- 
Create keys and deposit_data-*.jsonRun one of the following command to enter the interactive CLI: ./deposit.sh new-mnemonicor ./deposit.sh existing-mnemonicYou can also run the tool with optional arguments: ./deposit.sh new-mnemonic --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>./deposit.sh existing-mnemonic --num_validators=<NUM_VALIDATORS> --validator_start_index=<START_INDEX> --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
Option 2. Build deposit-cli with virtualenv
- 
Python version checking Ensure you are using Python version >= Python3.10: python3 -V
- 
Installation Install venvif not already installed, e.g. for Debian/Ubuntu:sudo apt update && sudo apt install python3-venvCreate a new virtual environment: python3 -m venv .venv source .venv/bin/activateand install the dependencies: pip3 install -r requirements.txt
- 
Create keys and deposit_data-*.jsonRun one of the following command to enter the interactive CLI: python3 -m ethstaker_deposit new-mnemonicor python3 -m ethstaker_deposit existing-mnemonicYou can also run the tool with optional arguments: python3 -m ethstaker_deposit new-mnemonic --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>python3 -m ethstaker_deposit existing-mnemonic --num_validators=<NUM_VALIDATORS> --validator_start_index=<START_INDEX> --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
Option 3. Use published docker image
- 
Pull the official docker image Run the following command to pull the latest docker image published on the Github repository: docker pull ghcr.io/ethstaker/ethstaker-deposit-cli:latest
- 
Create keys and deposit_data-*.jsonRun the following command to enter the interactive CLI: docker run -it --rm -v $(pwd)/validator_keys:/app/validator_keys ghcr.io/ethstaker/ethstaker-deposit-cli:latestYou can also run the tool with optional arguments: docker run -it --rm -v $(pwd)/validator_keys:/app/validator_keys ghcr.io/ethstaker/ethstaker-deposit-cli:latest new-mnemonic --num_validators=<NUM_VALIDATORS> --mnemonic_language=englishExample for 1 validator on the Hoodi testnet using english: docker run -it --rm -v $(pwd)/validator_keys:/app/validator_keys ghcr.io/ethstaker/ethstaker-deposit-cli:latest new-mnemonic --num_validators=1 --mnemonic_language=english --chain=hoodi
Option 4. Use local docker image
- 
Build the docker image Run the following command to locally build the docker image: make build_docker
- 
Create keys and deposit_data-*.jsonRun the following command to enter the interactive CLI: docker run -it --rm -v $(pwd)/validator_keys:/app/validator_keys ethstaker/ethstaker-deposit-cliYou can also run the tool with optional arguments: docker run -it --rm -v $(pwd)/validator_keys:/app/validator_keys ethstaker/ethstaker-deposit-cli new-mnemonic --num_validators=<NUM_VALIDATORS> --mnemonic_language=englishExample for 1 validator on the Hoodi testnet using english: docker run -it --rm -v $(pwd)/validator_keys:/app/validator_keys ethstaker/ethstaker-deposit-cli new-mnemonic --num_validators=1 --mnemonic_language=english --chain=hoodi
For Windows users
Option 1. Build deposit-cli with native Python
- 
Python version checking Ensure you are using Python version >= Python12 (Assume that you've installed Python 3 as the main Python): python -V
- 
Installation Install the dependencies: pip3 install -r requirements.txtOr use the helper script: sh deposit.sh install
- 
Create keys and deposit_data-*.jsonRun one of the following command to enter the interactive CLI: ./deposit.sh new-mnemonicor ./deposit.sh existing-mnemonicYou can also run the tool with optional arguments: ./deposit.sh new-mnemonic --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>./deposit.sh existing-mnemonic --num_validators=<NUM_VALIDATORS> --validator_start_index=<START_INDEX> --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
Option 2. Build deposit-cli with virtualenv
- 
Python version checking Ensure you are using Python version >= Python3.10 (Assume that you've installed Python 3 as the main Python): python -V
- 
Installation Create a new virtual environment: python3 -m venv .venv .\.venv\Scripts\activateand install the dependencies: pip3 install -r requirements.txt
- 
Create keys and deposit_data-*.jsonRun one of the following command to enter the interactive CLI: python -m ethstaker_deposit new-mnemonicor python -m ethstaker_deposit existing-mnemonicYou can also run the tool with optional arguments: python -m ethstaker_deposit new-mnemonic --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>python -m ethstaker_deposit existing-mnemonic --num_validators=<NUM_VALIDATORS> --validator_start_index=<START_INDEX> --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>