-
Notifications
You must be signed in to change notification settings - Fork 57
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
PoC: rln-v2 in waku #2345
Comments
Can you clarify what exact number we could look into?e,g, you lock 1DAI and you get 1000msgs/day, 2DAY you get 2000msgs/day? This is cool. |
yes, something along those lines. however, a day is too large of an epoch size to use - consider the calculations below
if the day epoch size is a requirement from waku, we can work on a persistence layer for the nullifier table, but we will raise the hardware requirements for running a node on the network by consequence. |
Problem
We do not have arbitrary messaging rates with rln in waku, leading to only 1 message per epoch (set to 1 second)
Suggested solution
We make use of rln-v2 instead of rln-v1, which brings variable messaging rates depending on the user's stake.
Till we have a viable tokenomics model for rln-v2, we will just proceed with linearly scaling the stake with the messaging rate.
Sub-issues for incremental changes
poseidon([id_commitment, user_message_limit])
Additional context
Zerokit release: https://github.com/vacp2p/zerokit/releases/tag/v0.4.1
Acceptance criteria
The text was updated successfully, but these errors were encountered: