Important
This CLI tool is a forked version specifically for Endurance Network. You can choose the mainnet as a parameter for use with Endurance.
git clone https://github.com/OpenFusionist/staking-deposit-cli
cd staking-deposit-cli
Ensure you are using Python version >= Python3.12:
python3 -V
For the virtualenv users, you can create a new venv:
pip3 install virtualenv
python3 -m virtualenv venv
source venv/bin/activate
and install the dependencies:
python3 setup.py install
pip3 install -r requirements.txt
Run one of the following command to enter the interactive CLI:
python3 ./staking_deposit/deposit.py new-mnemonic
or
python3 ./staking_deposit/deposit.py existing-mnemonic
You can also run the tool with optional arguments:
python3 ./staking_deposit/deposit.py new-mnemonic --num_validators=<NUM_VALIDATORS> --mnemonic_language=english --chain=mainnet --folder=<YOUR_FOLDER_PATH> --execution_address=<YOUR_WITHDRAW_ADDRESS>
python3 ./staking_deposit/deposit.py existing-mnemonic --num_validators=<NUM_VALIDATORS> --validator_start_index=<START_INDEX> --chain=mainnet --folder=<YOUR_FOLDER_PATH> --execution_address=<YOUR_WITHDRAW_ADDRESS>