Build with private payments.
Integrate browser-held ETH notes, zero-knowledge payments, and metered AI inference with the OpenZK React toolkit.
On this page
How it works
OpenZK gives software a prepaid private balance. A browser holds the note, proves valid payments, and uses short-lived inference access to pay for requests.
- 01Fund
Deposit ETH
- 02Prove
Keep state local
- 03Spend
Pay per request
- 04Exit
Settle on Ethereum
The @openzk.app/purse package provides the React hooks and client interface. The underlying zkAPI browser SDK handles the worker, proofs, note state, and protocol operations.
Start building
Start with a browser application, React 19, an operator-provided SDK, and an Ethereum wallet provider. The quickstart walks through the required assets before funding a note.
npm install @openzk.app/purse reactPrepare the worker, connect a wallet, and fund your first note.
Explore the reference
Documentation for the OpenZK browser toolkit. Report a documentation issue ↗