Joystream Stats 682e0a1d2a getFiatEvents style 3 gadi atpakaļ
..
cache ebbd4a9044 Imrove th structure of contributions folder 3 gadi atpakaļ
src 682e0a1d2a getFiatEvents style 3 gadi atpakaļ
.gitignore 837379b1c4 build to 'build' dir 3 gadi atpakaļ
README.md 373453c848 Run `yarn run report` without building first 3 gadi atpakaļ
package.json 373453c848 Run `yarn run report` without building first 3 gadi atpakaļ
report-template.md 45aa18fa2e report generator fixes 3 gadi atpakaļ
report-template.md.old ebbd4a9044 Imrove th structure of contributions folder 3 gadi atpakaļ
tsconfig.json 837379b1c4 build to 'build' dir 3 gadi atpakaļ

README.md

Tokenomics Report Generator

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

To update the submodule in src/lib:

git submodule init
git submodule update

Usage

yarn run report

OR

yarn build && node build/generator.js <start block> <end block>

Examples

  • yarn run report 30
  • node build/generator.js 57601 234038

Contributors