Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 885 Bytes

README.md

File metadata and controls

37 lines (31 loc) · 885 Bytes

JBC Bulk Deposit

A simple script for depositing JBC funds to all validators in the deposit data file.

Prerequisite

  • Generate a new private key for the hot wallet and transfer JBC to this wallet for the deposit of all validators.
  • Generate validator keys and deposit_data-xxxxxx.json using deposit-cli (read docs).

How to run JBC Bulk deposit:

  1. Make an environment file
make env
  1. Update .env file
# Replace ${PRIVATE_KEY} with private key
PRIVATE_KEY=${PRIVATE_KEY}
# Update deposit data file path
DEPOSIT_DATA_FILE=./deposit_data-xxxxxx.json
# Gas price for all txs (Gwei)
GAS_PRICE=5 
  1. Install dependencies
yarn install
  1. Run verify to pre-check the correctness deposit data file
yarn verify
  1. Run deposit
yarn deposit