Skip to content

Solution: LP-0002 — Private M-of-N Multisig#102

Open
nizarsyahmi37 wants to merge 2 commits into
logos-co:masterfrom
nizarsyahmi37:solution/lp-0002
Open

Solution: LP-0002 — Private M-of-N Multisig#102
nizarsyahmi37 wants to merge 2 commits into
logos-co:masterfrom
nizarsyahmi37:solution/lp-0002

Conversation

@nizarsyahmi37

@nizarsyahmi37 nizarsyahmi37 commented Jul 4, 2026

Copy link
Copy Markdown

Adds solutions/LP-0002.md for prize LP-0002 — Private M-of-N Multisig.

Implementation repo: https://github.com/nizarsyahmi37/private-m-of-n-multisig

What's delivered

A private M-of-N multisig primitive for LEZ: members hold shielded accounts; approvals leave no public trace of who voted; on-chain state reveals only that a threshold of M was met.

  • Risc0 zkVM threshold-membership circuit (nullifier-based, Semaphore-style anonymity set — no FROST/DKG)
  • SPEL #[lez_program] verifier running env::verify(APPROVE_CIRCUIT_IMAGE_ID, …)
  • Double-vote prevention via NullifierEntry PDAs keyed by (proposal_id, nullifier)
  • Client-side SDK + IDL-driven pmsig CLI; resumable, reorg-aware ApprovalSession
  • Reproducible guest builds (RISC0_USE_DOCKER=1) with image-id drift sentinels
  • Reproducible demo.sh wrapping the quickstart flow
  • Real-proof benchmarks: ~161 s prove / ~46 ms verify (Apple M1); CI-green Layer-A e2e
  • Dual-licensed MIT OR Apache-2.0 (LICENSE-MIT + LICENSE-APACHE at repo root)

Honest status

The core cryptography, verifier program, SDK/CLI, IDL, benchmarks, licensing, and reproducible demo script are complete and CI-green. Open items (marked in the checklist) remain as the prize-submission follow-on: LEZ-testnet deployment + an executed on-chain instance, a narrated demo video, and the optional Basecamp GUI.

The solution file's Success Criteria Checklist reflects exactly which criteria are met vs. outstanding.

Add solutions/LP-0002.md linking to the implementation at
github.com/nizarsyahmi37/private-m-of-n-multisig: a Risc0 threshold
circuit + SPEL verifier with nullifier-based double-vote prevention
over shielded LEZ accounts.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown

⚠️ Warnings

Warnings (non-blocking):

  • ⚠️ Prize references a Logos mini-app; no module.json found.

ℹ️ Solution submission for LP-0002.
ℹ️ Checking repo: https://github.com/nizarsyahmi37/private-m-of-n-multisig


Automated check. See solution template and TERMS.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant