You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The js-rln library currently interacts with RLN v1 contracts. With the completion of the RLN v2 contract abstraction, we need to update js-rln to be compatible with the new contract architecture.
This update will:
Ensure js-rln supports membership management functions as per RLN v2.
Update the contract interactions to reflect new membership states (Active, GracePeriod, Expired, etc.).
Align rate-limiting logic with RLN v2's dynamic rate allocation.
Improve contract upgradability support (e.g., parameter modifications by the owner).
Introduce support for meta-transactions where applicable.
User Story
As a developer, I want js-rln to be compatible with RLN v2 so that I can integrate it seamlessly with dApps that use the latest contract version.
As a Waku node operator, I want the RLN proof verification process in js-rln to align with the updated rate-limiting rules in RLN v2.
As a user of RLN-enabled applications, I want to interact with the RLN v2 contract without issues when registering, extending, or withdrawing memberships.
Proposed Solution / Feature Design
1. Upgrade Contract Interactions
Update function calls in js-rln to align with the new RLN v2 contract methods.
Implement handling for new membership lifecycle states.
2. Adapt Membership Management
Ensure js-rln correctly registers, extends, and erases memberships based on RLN v2 rules.
Implement logic to handle expired memberships and rate-limit reuse.
Description
The
js-rln
library currently interacts with RLN v1 contracts. With the completion of the RLN v2 contract abstraction, we need to updatejs-rln
to be compatible with the new contract architecture.This update will:
js-rln
supports membership management functions as per RLN v2.User Story
js-rln
to be compatible with RLN v2 so that I can integrate it seamlessly with dApps that use the latest contract version.js-rln
to align with the updated rate-limiting rules in RLN v2.Proposed Solution / Feature Design
1. Upgrade Contract Interactions
js-rln
to align with the new RLN v2 contract methods.2. Adapt Membership Management
js-rln
correctly registers, extends, and erases memberships based on RLN v2 rules.Notes
The text was updated successfully, but these errors were encountered: