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.
Clone the repo and run npm install from the project root:
$ git clone https://github.com/desaperados/rrc.git
$ cd rrc
$ npm install
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
- Timestamp balances.csv output so that it can be included in version control.