Generate Validator Keys

How to generate validator keys for JIB Chain

Build Requirement

For Linux or MacOS users

File Permissions

On Unix-based systems, keystores and the deposit_data*.json have 440/-r--r----- file permissions (user & group read only). This improves security by limiting which users and processes that have access to these files. If you are getting permission denied errors when handling your keystores, consider changing which user/group owns the file (with chown) or, if need be, change the file permissions with chmod


Get Started to generate validator keys

  1. Clone the Deposit-CLI repository from JIBChain-net Github

git clone https://github.com/jibchain-net/deposit-cli.git && cd deposit-cli
  1. Install dependencies (Ensure you are using Python version >= Python3.8)

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

# Or use the helper script
./deposit.sh install
  1. Create key and deposit_data-*.json

mkdir validator_keys-test

Example:

  1. Create your password and confirm your password

  1. Remember your mnemonic key

  1. Put your mnemonic key to verify that you saved

  1. Waiting for generate key

  1. Your keys can be found at: validator_keys-test/validator_keys

example:


If you input --num_validators more than 1, the list of files will show keystore-m_ equal to the number of validators that you input

Last updated