DocumentationIntroduction
DocsGetting started

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.

  1. 01Fund

    Deposit ETH

  2. 02Prove

    Keep state local

  3. 03Spend

    Pay per request

  4. 04Exit

    Settle on Ethereum

Public settlement at the edges. Private payment state in the middle.

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.

Install the toolkit
Terminal
npm install @openzk.app/purse react
Quickstart

Prepare the worker, connect a wallet, and fund your first note.

Explore the reference

Documentation for the OpenZK browser toolkit. Report a documentation issue ↗