Skip to content

Solution: LP-0005 — Private Balance Attestation#89

Open
retraca wants to merge 5 commits into
logos-co:masterfrom
retraca:lp-0005-submission
Open

Solution: LP-0005 — Private Balance Attestation#89
retraca wants to merge 5 commits into
logos-co:masterfrom
retraca:lp-0005-submission

Conversation

@retraca

@retraca retraca commented Jun 11, 2026

Copy link
Copy Markdown

Solution: LP-0005 — Private Balance Attestation

Submitted by: retraca

Repo: https://github.com/retraca/lp-0005-balance-attestation


A zero-knowledge balance attestation protocol for LEZ. A user proves their account balance exceeds a threshold without revealing the actual balance, account ID, or nsk. Proof is one-shot: a circuit-bound nullifier prevents re-proving.

Two components: RISC0 circuit guest (Merkle membership + balance check + nullifier commit) and a SPEL on-chain gating program (verifies IMAGE_ID, enforces Merkle root freshness, rejects spent nullifiers, checks Ed25519 presenter binding).

Full write-up in solutions/LP-0005.md.

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

⚠️ Warnings

Warnings (non-blocking):

  • ⚠️ Prize requires a video demo; none linked in solution file.

ℹ️ Solution submission for LP-0005.
ℹ️ Checking repo: https://github.com/retraca/lp-0005-balance-attestation


Automated check. See solution template and TERMS.

retraca added 3 commits June 12, 2026 12:07
Add Success Criteria Checklist (honest [x]/[ ] against prize spec),
FURPS Self-Assessment (5 subsections with real prose), and Terms &
Conditions acknowledgment. Also rewrites Approach to document the
env::verify() LEZ-native pattern and the off-chain verifier-lib.
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