Skip to content

KellyatPyrofex/rhoc-balance-reporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rrc

Generate a balance report for the RHOC REV conversion. Outputs a list of all keys along with RHOC balance (in wei) and a 0|1 flag to indicate whether or not there is a contract at that address.

Setup

You need Node.js 11.x. Clone the repo and run npm install from the project root:

$ git clone https://github.com/rchain/rhoc-balance-reporter.git
$ cd rhoc-balance-reporter
$ npm install

Generate a RHOC balance report

Specify options by setting shell variables:

BLOCK=<block height>
ETH_WS=<websockets provider>

Eth provider defaults to local node (ws://localhost:8546).

$ BLOCK=7588056 node balances >wallets_7588056.txt

Improvements

  • Timestamp balances.csv output so that it can be included in version control.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%