Replace hash envelopes with a ZK pool #15
Merged@julien wants to merge
18-replace-envelopes-with-zk into mainMerged as
48af16313c57.- @julien opened this merge request · Sep 19, 2026edited
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 libraryLove.deposit(bytes32 commitment)locks a fixed 0.01 wETH;Love.claim(proof, root, nullifierHash, recipient)pays its LOVE torecipient- the plain
deposit(uint256)andwithdraware unchanged - tests run against real proofs
Sign in to comment.