Joystream / Joystream/joystream
Query Node: Add support for fees
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
## Problem
Currently the Query Node does not track fees for anything. Fees are an extremely important economic metric for the platform because they will eventually need to be balanced against storage costs and also for other uses (like NFT sales) are also important.
As it is there is no way to tell how much is being burned through fees--a good example of this is the membership faucet, which is currently burning something like 10k $JOY per day, which is a decent amount, yet it is very difficult to surface this information without QN support.
Another side of this is that when a user uploads a video they are quoted a price for the file size of the video they are uploading that doesn't seem to be tracked either.
3rd party solutions like Subsquid do not seem to surface this information either.
## Solution
Add tracking of fees for the various actions on the platform that require them such as
* Membership creation
* NFT issuance
* NFT sales/auctions (royalty fees for the platform that are burned are in particular very valuable to know)
* Channel creation
* Video creation
* Remarks (comments + reactions)
* Forum thread/post fees
* Proposal slashing/rejection fees
Although transfer fees would be desirable, since the QN doesn't track them it seems out of scope currently.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.