8000 GitHub - foundation-labs-co/devnet-bulk-deposit: A simple script for depositing ETH to all validators in the deposit data file.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

foundation-labs-co/devnet-bulk-deposit

 
 

Repository files navigation

Devnet Bulk Deposit

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

Prerequisite

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

How to run Devnet 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=1 
  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 ETH to all validators in the deposit data file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.8%
  • Solidity 3.9%
  • Makefile 0.3%
0