Skip to main content
A relayer pays gas for every record, so it needs to limit how much each issuance identity writes. If it limited by wallet, it would learn which wallet wrote which record. Instead, relayers can require a blind token per write: the issuer sees an identity derived from your keys (not your wallet) when it hands out tokens, the relayer sees a token when you spend it, and neither can connect the two. See blind tokens for how.
A client configured with semaphore: { group } skips automatic blind-token acquisition and authorizes records with group proofs for that project. Scope/nullifier rules then limit enrolled identities. Other projects retain their token policy. See anonymous group permissions.

In an app: nothing to do

When a relayer requires tokens, createPrivateClient fetches the day’s tokens as soon as the client is created, and spends one per write. The request is signed by an identity derived from the user’s keys for this app, so it needs no wallet prompt:
What the user notices:
  • No extra signature. Connecting costs one wallet prompt (two the first time on a device).
  • A daily limit. The default is 5 tokens per issuance identity per app per day; operators can raise it. This does not establish unique people.
  • The first write right after connecting can wait up to 60 seconds. A token is never spent until it is 60 seconds old, so fetching and spending never sit next to each other in time.

Keep tokens across sessions

By default tokens live in memory. In a browser, keep them in localStorage so a session can spend tokens fetched in an earlier one (better privacy, and no wait):

Attestation codes

A per-wallet quota limits wallets, not people, and wallets are free. An issuer can instead require a one-time attestation code (for example, printed on a receipt or handed out at a counter). Each code grants one day’s quota:
The issuer learns which derived identity used which code; it still never learns your wallet or which records the tokens paid for. An issuer that must see the wallet itself (for example, one that only serves an allowlist of wallets) can be served with tokenIdentity: "wallet". The wallet then signs each issuance request, one more prompt per fetch. Operators: see ISSUER_CODES_FILE in the configuration reference.

Errors

Last modified on October 17, 2026