Open staheri14 opened 2 years ago
Great stuff, I think this covers what we've talked about before. Some quick notes:
@s1fr0 following our conversation in the PM call regarding the next steps of the waku store protocol incentivization, here is the initial issue which captures the problem and the high-level solution idea. The development roadmap with more fine-grained milestones are captured in i.e., https://github.com/vacp2p/research/issues/135
As the first step, we need to decide on the payment model i.e., whether 1) users can spend (deposit & withdraw) a fraction of their service credentials 2) users can not spend a fraction of their service credentials and what are the pros and cons? If you could please look into that and see from the technical pov what are the trade-offs, that would be great. Once you share your thoughts in here, then we can make the next move and begin with the first milestone sketched in this issue https://github.com/vacp2p/research/issues/135
Please have a look at this issue and the nwaku one and let me know if you have any comments or concerns.
Context
Borrowed from https://forum.vac.dev/t/vac-sustainability-and-business-workshop/116
Service credentials at a high level: Service consumers need to purchase Service credentials or Tokens in order to obtain service from waku nodes. The service consumer pays the cost of its service by handing its token/credentials to the provider. The service provider can then claim funds associated with that credential.
The service credential incentivization model has multiple benefits:
Problem
This issue is specifically focused on enabling privacy-preserving service credentials for the Waku store protocol by adopting the privacy-preserving payment model.
Solution overview
Privacy-preserving payment model
At a high level,
Users prove the ownership of their deposits anonymously using zk-Snark proofs by having the witness to the zk-Snark circuit (see the relevant articles in the resources section).
Integration idea
This Privacy-preserving payment model can be used to incentivize the waku store protocol:
To be investigated
Resources
Acceptance criteria
cc: @oskarth