Loading this page.
Loading this page.
Generate an actual Groth16 / BN254 proof from the Zentra payment-policy circuit, verify it locally, then anchor its commitment on-chain via the live Soroban contract — and see every proof made on the platform.
It lets you prove a statement is true while revealing nothing else. Zentra uses it so an AI agent can prove a payment follows your private rules — the spending limits and approved vendors stay secret, but anyone can check the agent obeyed them.
Your secret rules + inputs stay in your browser.
A tiny Groth16 proof is generated from them.
Only the proof + a few public values are shared — and verify in milliseconds.
Below, generate a real one and inspect exactly what it reveals — and what it doesn't.
Never leaves your browser.
Anyone can check these.
The proof links the hidden side to the public side — proving they're consistent without revealing the secrets.
One-way: the commitment reveals nothing about the secret.
To prove the recipient is on the approved list, the circuit only needs the path to the public root — never the whole list.
This runs the actual Zentra payment-policy circuit (Circom + snarkjs, Groth16 over BN254) entirely in your browser. The proof shows an agent's action obeys a private policy — without revealing the policy.
No proof yet — nothing is sent to a server, the circuit runs in this tab.
Loading the proof registry…
Deterministic replays of the live demo — legitimate payment, prompt injection, and over-spend — showing which check fires.
Approved vendor, within limits
Pay an attacker not on the allowlist
Claims prevSpent = 0 after spending 400
Select a term to expand.
A way to prove a statement is true while revealing nothing beyond the statement itself. Here: "this payment follows my rules" — without showing the rules.
A specific, very compact zk-SNARK proving system. Proofs are tiny (three elliptic-curve points) and verify in milliseconds, which is what makes on-chain verification practical.
The elliptic curve the proof is built on. Stellar added BN254 host functions, so a Soroban contract can verify these proofs directly.
The full set of inputs (public + private) run through the circuit. It is computed in your browser and never leaves it.
The values the proof exposes (and a verifier checks against). Everything else stays private.
A one-way hash that "locks in" a secret. You can later prove things about the secret without revealing it.
A single hash that fingerprints a whole list. You can prove an item is in the list against just the root.
A one-time marker that prevents the same proof being used twice (replay protection).
The three elliptic-curve points that make up a Groth16 proof — that is the entire proof.