LP-0016: Anonymous Forum with Threshold Moderation and Membership Revocation#465
Open
syafiqeil wants to merge 13 commits intologos-blockchain:mainfrom
Open
LP-0016: Anonymous Forum with Threshold Moderation and Membership Revocation#465syafiqeil wants to merge 13 commits intologos-blockchain:mainfrom
syafiqeil wants to merge 13 commits intologos-blockchain:mainfrom
Conversation
Adds initialization, member registration with stake, VerifyPost via ZK receipt, and trustless Slash instruction using raw NSK.
Implements identity derivation, SMT registry verification, blacklist prevention, and deterministic tracing tag generation.
Extracts BIP340 Schnorr signatures and Shamir's Secret Sharing to remove heavy blockchain dependencies, ensuring WASM compatibility for the browser.
Implements member, moderator, and aggregator clients for off-chain N-of-M threshold coordination and exposes them via wasm-bindgen.
Tests full flow including registration, 90-second ZK posting via RISC0, off-chain strike accumulation, and on-chain mathematical deanonymization.
- Added , , and via local paths. - Migrated core crates (, , , , ) to workspace inheritance for version consistency. - Configured with and features for high-performance async execution. - Refactored and organized Cargo.toml structure for better maintainability.
…e, and commitment public
… from root workspace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This Pull Request submits the complete implementation for LP-0016: Anonymous Forum with Threshold Moderation and Membership Revocation.
The architecture is deliberately decoupled into two primary layers to ensure a trustless, standalone, and agnostic moderation library:
membership_registrywith a highly optimized RISC Zero circuit that uses native NSSA SHA-256 to verify SMT membership and generate deterministic tracing tags without leaking the Nullifier Secret Key (NSK).logos_moderation_sdk) heavily optimized for the browser. Heavy blockchain dependencies were explicitly decoupled in favor of a lean cryptographic module supporting N-of-M Shamir's Secret Sharing and BIP340 Schnorr signatures.Demo & Documentation
docs/protocol.md, detailing the unlinkability argument, game-theoretic deterrence, and threat models.Key Features
Type of change
Testing Performed
integration_tests/tests/forum.rscomplete lifecycle (Registration -> ZK Proof -> Strike Accumulation -> Deanonymization -> Slashing).