Git Product home page Git Product logo

jbc-bulk-deposit's Introduction

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

jbc-bulk-deposit's People

Contributors

0xmaxma avatar

Forkers

iqcang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.