Credits & proofs
A credit note carries spending authority. A proof lets you use it without handing over its secret.
Harkon keeps public funding and routine usage separate. Base records the funded commitment; the browser holds the private note state. Ordinary requests update that state through proof authorization and signed settlement offchain.
Secret, commitment and proof
| Object | What it does |
|---|---|
| Note secret | Created in your browser before payment. It is needed to demonstrate control of the credit note and stays in the encrypted credit vault. |
| Public commitment | Registers the funded note without publishing its secret. It can appear in public funding records. |
| Request proof | Demonstrates valid spending authority and enough credit for the request's allowance. It can be checked without receiving the secret. |
The proof relates the note's current state to the accepted credit system and spending bound. Its authorization is tied to the request session and its terms, including the model and allowance. Changing those terms requires fresh authorization.
Messages travel alongside this authorization for AI processing. The credit proof does not hide their contents or prove that the eventual answer is correct.
One credit state, one authorized use
Each authorization has a nullifier: an identifier derived from the note secret and its current state. Harkon records it when admitting the request. A repeated submission matching the same operation can recover its recorded status; a conflicting attempt to spend that state is refused.
- Current noteThe browser holds the secret, balance and accepted credit state.
- Authorized requestA proof and nullifier bind that state to one recorded session and allowance.
- Signed updateHarkon records the final charge and signs the resulting state.
- Next usable stateThe browser verifies and saves the update before preparing a later request.
Reloading the app, waiting or restoring an older backup does not make already-used credit state spendable again.
This combines cryptographic verification with durable service records. A proof alone is not a substitute for correct settlement and duplicate-spend accounting. Cross-tab coordination also prevents competing local updates. Copying a backup to another device does not create an independent balance.
A reservation is a temporary hold
The model, mode and generation settings determine an automatic allowance. It bounds the request's permitted work, including Agent tool steps. The selected note must be large enough to cover it; several smaller notes are not automatically combined for one request.
AvailableReservedSpent
- Before the request
100 available0 reserved0 spent
- While it runs
90 available10 reserved0 spent
- After settlement
97 available0 reserved3 spent
Illustrative credits, not a price quote. The final charge is 3; the unused 7-credit reservation is released.
The final charge follows settled usage and the applicable service pricing. The browser verifies the signed credit update before replacing its pending state. Receiving the same settlement again must not deduct or release credits twice. A signed update authenticates the service's result; it does not make the service trustless.
Recovery follows the original request
The browser saves pending authorization before submission. If the connection breaks, recovery uses that request's identity, proof terms and recorded progress. It does not buy another answer or silently increase the allowance.
Financial recovery and answer recovery are separate. A final balance can recover even when an unsaved answer is no longer available. Stop requests cancellation, but completed work may still be billable. Closing a tab is not the same as Stop. Keep the pending state until settlement finishes; clearing storage can remove the material needed to recover it.
Refresh, backup and local history
Refresh selected note is a separate Base operation: the old note is consumed and its remaining credit is registered under a fresh commitment. This is not a withdrawal and is not required after every message. Purchased credits have no normal cash-out feature.
The app also refreshes a note by itself, at a random quiet moment while it is open and idle, after about $4 has been spent from that note. The project pays the network fee, and an automatic refresh is skipped while that fee would exceed $1. The amount spent since the previous refresh becomes project revenue on Base.
Credits bought after expiry is switched on last 60 days from their purchase or last refresh. Any paid chat or Agent task in this browser marks all of its notes active, and an active note with less than 45 days left is refreshed automatically, which restarts its 60 days. Credits therefore expire no sooner than 45 days after your last chat, as long as the app gets the chance to refresh them; each note shows its date in Backups and recovery. An expired note can no longer pay for requests or be refreshed, and its whole deposit becomes project revenue. Credits bought before expiry was switched on, and their refreshed replacements, never expire.
Each refresh replaces the note, so export a fresh backup afterwards: an older backup holds the consumed note, not its replacement.
Export a fresh encrypted credit backup after credit-state changes. The payment wallet alone cannot reconstruct a lost note secret. An older backup cannot undo spending or recreate newer state it never contained.
History uses separate encryption and backups. Regular opens with this browser's device key; Ghost uses its password. Neither history backup contains spendable credit notes, and history encryption does not hide prompts during AI processing.