Skip to content

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

License

Notifications You must be signed in to change notification settings

0xMaxMa/jbc-bulk-deposit

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published