Skip to content

desaperados/rrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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

Clone the repo and run npm install from the project root:

$ git clone https://github.com/desaperados/rrc.git
$ cd rrc
$ npm install

Generate a RHOC balance report

If you're not running the report for the first time you'll need to remove the previous version.

$ rm balances.csv

Then run the balances script. Specify options by setting shell variables:

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

Eth provider defaults to Infura so running a local node is optional.

$ BLOCK=5866762 npm run balances

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