mochet 66d2eac4c9 move tokenomics report generator into contrib folder | %!s(int64=3) %!d(string=hai) anos | |
---|---|---|
.. | ||
cache | %!s(int64=3) %!d(string=hai) anos | |
src | %!s(int64=3) %!d(string=hai) anos | |
.gitignore | %!s(int64=3) %!d(string=hai) anos | |
README.md | %!s(int64=3) %!d(string=hai) anos | |
package.json | %!s(int64=3) %!d(string=hai) anos | |
report-template.md | %!s(int64=3) %!d(string=hai) anos | |
report-template.md.old | %!s(int64=3) %!d(string=hai) anos | |
tsconfig.json | %!s(int64=3) %!d(string=hai) anos |
This scripts collects some information from Joystream chain. \ It was created to allow the council to generate a report in the finish of the council round. \ It takes some minutes to complete the report, multiple runs, with the same block range, will be quicker since it has a "cache" system for the block events.
## Setup
yarn && yarn build
## Usage
node lib/generator.js <start block> <end block>
node lib/generator.js 57601 234038