Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[priority 5] We need a mechanism to verify payments for the data users upload #33

Open
ehsan6sha opened this issue Jan 2, 2024 · 0 comments
Assignees

Comments

@ehsan6sha
Copy link
Member

One major part that I think all missed together is how is someone who want to upload a file pays? It should be managed by blockchain as the payment is made but blockchain is the payment mechanism. If we implement this on any other layer (like protocol) then it is prone to misuse. The idea we initially discussed was they pay to the treasury, and then get an allowance. But that allowance should be stored somewhere on the chain that storage providers can query and verify. So on the chain there should be something like (account: 123, allowance: 1000 Bytes, used: 100 Bytes) that everyone can query. This is not implemented and also it requires that manifest/available endpoint also shows the account like manifest/all endpoint which is not the case right now. At least the payment to treasury for an account should be recorded and queryable on the chain in order for the process to work
=> Victor/Alex: to discuss for mainnet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants