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:
- 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 inlocalStorage 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:tokenIdentity: "wallet". The wallet then signs each issuance request, one more
prompt per fetch. Operators: see ISSUER_CODES_FILE in the configuration reference.