User authorizes token transfer (Permit2 supported).
SDK computes commitments and generates a shield proof in a WebWorker.
Pool verifies the proof and inserts commitments (Merkle leafs); subgraph records Commitment, NewRoot.
Commitment
NewRoot
SDK collects input notes, computes Merkle paths, and generates a spend proof in a WebWorker.
Pool verifies the proof, marks nullifiers as used, inserts new commitments, and optionally processes withdrawal/fees.
Subgraph updates Nullifier, Withdrawal, FeePaid, and daily aggregates.
Nullifier
Withdrawal
FeePaid
Last updated 5 months ago