julien/lovepublic Fork
⑂ main
Commits
⬇ Clone ▾
git clone https://git.rickub.com/julien/love.git
git clone ssh://git@rickub.com/julien/love.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

Replace hash envelopes with a ZK pool #15

Merged@julien wants to merge 18-replace-envelopes-with-zk into main
Merged as 48af16313c57.
  • @julien opened this merge request · Sep 19, 2026

    closes #18

    Replaces the hash-preimage envelopes with a Groth16 shielded pool.

    • zk/: circom circuit (Poseidon Merkle membership, depth 10, recipient bound to the proof), single-contributor setup script and its output, client library
    • Love.deposit(bytes32 commitment) locks a fixed 0.01 wETH; Love.claim(proof, root, nullifierHash, recipient) pays its LOVE to recipient
    • the plain deposit(uint256) and withdraw are unchanged
    • tests run against real proofs

Sign in to comment.