Zero-knowledge proofs let you prove something is true without revealing the underlying data. In the Privacy Wallet, ZK proofs enable private withdrawals while preventing double-spending.
What is Zero-Knowledge Proofs in DeFi?
A zero-knowledge proof (ZKP) is a cryptographic method where one party (prover) can prove to another (verifier) that a statement is true without revealing any information beyond the validity of the statement.
Key Benefits
- ✓Prove you own shielded tokens without revealing which deposit
- ✓Nullifiers prevent double-spending without exposing identity
- ✓Merkle proofs verify inclusion in the commitment tree
- ✓All proofs generated client-side — your data never leaves your device
How to Get Started
When you unshield tokens, your browser generates a ZK proof proving: (1) you know the secret for a valid commitment, and (2) you haven't spent it before. The contract verifies this proof and releases funds.
Pro Tip
Proof generation takes a few seconds and is compute-intensive. For best experience, use a modern browser on a laptop or desktop. Mobile works but may be slower.