Privacy Protocol Docs
Privacy Protocol is a relayer-first privacy middleware for EVM applications.
Install
npm
npm install privacy-protocol ethers⚡
No manual circuit import is required. The SDK ships with bundled proving artifacts.
What Is Included
privacy-protocol/core: low-level SDK APIs.privacy-protocol/hooks: React hooks for private app integrations.- Built-in relayer defaults so relayer config is optional.
Quick Flow
Initialize
Instantiate with provider + pool address only.
Deposit
Create a private note (secret, nullifier, commitment) with deposit.
Execute or Withdraw
Spend notes privately with executeAction or withdraw.
Track Lifecycle
Render relay progress from queued to submitted to confirmed.
Next
Last updated on