Beneficiary · sponsored payment

Pay with 0 ETH — prove you're eligible

Load the credential your company gave you, generate a private proof in this tab, then submit one sponsored transaction. The company paymaster covers the gas; you hold 0 ETH the whole way.

1
2
3
Embedded EIP-8141 wallet ready
generating…

This in-browser key is the transaction sender — no external wallet signs EIP-8141 frame transactions yet. Share the address with your admin so they can authorize it; rotating it invalidates the old credential.

Proof system
Groth16 / BN254 · verifies on-chain
Transport
anon-rpc (starting)
Step 1 · ZK credential
Paste the credential JSON (secret + Merkle path + root) or load the devnet demo. The proof is generated in this browser.
Session key (bound into the proof)
generating…
Demo trust boundary
The credential secret stays in this tab, but it is stored in localStorage for convenience. A production wallet should keep it in a secure keystore. The demo credential file is gitignored and contains a throwaway devnet secret.
Step 2 · Prove and pay
The paymaster verifies the proof on-chain, burns the identity nullifier, and pays the gas. Recipient/amount stay public.
Contract state
Paymaster:configured
Root:—
Epoch:—
Max sponsor cost:—
Identity nullifier spent:—
0x…
from tx.sender
session account nonce
What is hidden, what is not
The paymaster learns the session key, root, epoch, and nullifiers, not which authorized employee owns the credential. The recipient and value are public in the SENDER frame. One credential sponsors one transaction per epoch; incrementing the epoch invalidates it.
Setup & deploy commands (admins)
Setup
The proof assets are generated locally and are gitignored.

npm run zk:setup compiles the circuit, builds the devnet zkey, and exports the verifier.

npm run zk:deploy deploys the verifier + paymaster, sets the root, and stakes.

npm run zk:publish copies the wasm/zkey to public/zk and writes the demo credential.

The CLI equivalent is npm run zk:sponsor.