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.
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
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
- Timestamp balances.csv output so that it can be included in version control.