Joystream / Joystream/joystream

CLI: Add circulating supply schedule calculation

Open
#4,497 1 comment 0 reactions 0 assignees View on GitHub
CLI enhancement good first issue
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

The ability to get a client side computation of the circulating supply schedule would greatly help with the credibility of the supply claims of the system, something which is particularly important since Joystream is a Substrate L1, for which there is limited tooling and infra for third parties to inspect this without help. Basic information needed for such a command is to be able to ask how many tokens will both be locked and unlocked at

1) the current block
2) any block in the future
3) all blocks for a given future interval, with controllable block resolution (daily, weekly, monthly...)

Importantly, locking here only refers to _vesting locks_, other locks, like staking, nomination etc. are not relevant for this credibility use case, as these locking dynamics are volatile and not predictable.

Seems like it should be part of CLI, as it seems rough to add a totally separate tool for this.

Looking at Pioneer codebase for reading locks can be a good guide if one is unfamiliar with this topic.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.