Terms
Every word the docs use with a meaning of its own, defined once.
Agent
A program that spends money on its owner's behalf. In Ayo an agent has an on-chain record (Agent), a Solana signing key, and a private balance in the Ring. See Private wallet and key derivation.
Agent key
AYO_AGENT_KEY: the agent's 32-byte seed in base58. The agent's signing key and shielded keypair both come from it. Shown once when the agent is created.
Chain view
What anyone reading Solana can see about an agent or a tab: addresses, statuses, counters and tab events, no amounts. See Chain view and owner view.
Cumulative amount
The total a voucher authorizes on its tab through the current call. Each voucher replaces the one before.
Drain
Moving an agent's remaining private balance back to its owner's private wallet. See Drain an agent.
Flag
What a service does with flag_unpaid when a tab passes its settlement window unpaid. See Unpaid proof.
Hello
The Ayo-Hello header a service sends with 402 Payment Required: its account, price, unit, mint and Ring address. See HTTP headers.
Owner
The Solana wallet that made a private wallet and created agents or services. It derives every agent's keys.
Owner view
What the owner's browser decrypts: balances, every call and amount, every settlement.
Per-transaction viewing key
A key that decrypts one Ring transaction and nothing else. A receipt link carries one.
Private wallet
An owner's balance in a Privacy Ring, held by a shielded keypair derived from one signature of their Solana wallet.
Privacy Rings
Helius's shielded pools on Solana. Ayo uses the default Ring, which hides amounts and keeps addresses public. See Privacy Rings underneath.
Receipt
A link that discloses one tab's settlement to whoever holds it. See Share a receipt.
Ring address
The public address a shielded keypair receives at, registered in the Ring User Registry.
Sequence
The voucher counter on a tab: 1 for the first call, then up by one each call.
Service
A paid HTTP endpoint listed in Ayo's registry with its price per unit, unit, mint, Ring address, settlement window and maximum unpaid amount per tab.
Service key
AYO_SERVICE_KEY: the service's seed in base58, derived from its owner's seed. The service's signing key and Ring address come from it. Shown once when the service is listed. See Service keys.
Settle
Paying a tab: one confidential transfer for the last voucher's total, then close_tab. See Settlement.
Settlement window
The seconds after a tab opens within which it should be settled. After it, the service can flag the tab.
Shielded keypair
The keys that hold a Ring balance: an Ed25519 signing key, a nullifier key and an X25519 viewing key.
Signing key
The agent's Solana public key, stored on chain. It signs the agent's vouchers and pays its transaction and tab fees.
Tab
An open account between one agent and one service, recorded on chain from open_tab to settlement or flag. See Tabs and vouchers.
Tab fee
The flat SOL fee open_tab charges, set in Config. See Tab fee and AYO.
Viewing key
The X25519 key that decrypts everything sent to a shielded keypair.
Void
The status of a tab the service closed with void_tab: its window passed and the service accepted no voucher on it.
Voucher
The Ayo-Voucher header an agent sends with each paid call: the tab, the cumulative amount, the sequence and the agent's signature. See HTTP headers.