Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Glossary

Account. A nonce and a map from program account ids to actor states.

Actor. One program’s state on one account: the pair (account_id, program_account_id). Every message is addressed to an actor.

Actor state. The bytes an actor holds. Only that actor’s handler writes them.

Address. An id at which a private account receives messages: its account id, or a blinded form of it.

Admission. The check that a public account may receive a message: it exists, it signed, evidence for it is supplied, or the sender granted its seed.

AsyncMessage. A message that may wait. Delivered immediately when the transaction can run the receiver, stored on chain otherwise.

Authorization. input.is_authorized(): this delivery carries a grant over the receiver.

Base fee. The per-unit price of execution gas or storage gas the fee program holds, moving after each block toward a target (How fees are priced).

Blinded address. A hash of an account id and a secret factor: a pseudonym for a private account.

Boundary. In a private transaction, the ordered list of messages that crossed between private and public actors. Published in the clear.

Channel. An ordered stream of messages on the Logos L1, each referencing the one before. A zone writes its blocks into its channel as inscriptions (What LEZ is).

Collecting. Building a private transaction whose root, or a claim delivered before it, is a stored message, so the receiving handler runs.

Commitment. A hash published in place of a private account’s contents, or of a stored message.

Declared actor. A public actor a transaction lists up front, the only kind whose handler the engine runs publicly (Terms used throughout).

Dry run. --dry-run on any wallet command: simulate the transaction the command would send, on your own machine, outside any proof, against a snapshot of public actor state, and report its cost instead of sending it. For a private transaction the same run also fixes what the proof is then built against (the messages that will cross, the promotions selected, the sender presentations used). A public transaction is metered against the --gas-limit value, or else the configured one, capped at MAX_GAS_EXEC; a run that exhausts it is reported as a revert. A private transaction’s public part is metered against DEFAULT_PUBLIC_CYCLE_BUDGET (32M cycles), more than settlement allows (at most MAX_GAS_EXEC, 10M), so a private dry run that passes can still revert at settlement.

Echo. A handler’s proof includes the input it ran on, so the engine can check it was the right input.

Fee fallback. A fee-only version of a private payer’s action, proven alongside it, which settlement applies if the public part fails (Terms used throughout).

Grant. Authority over one actor, carried by one delivery. The engine mints it from a signer mark on the root call, an authorized private witness’s marks, a PDA seed, or the fee entry. A program can pass on a grant it holds (with_grants, with_lent_grant) but cannot create one.

Group secret. A shared secret from which a group derives the keys of accounts it owns together.

Handler. A program’s one function: input and message in, response out.

Headroom. How many blocks of the steepest base fee climb the reference wallet prices ahead of the quote (--fee-headroom, 5 by default) (How fees are priced).

Image id. The hash of a program’s binary.

LEE, LEZ. The execution environment, and the zone built on it.

Mailbox. The set of stored messages on chain.

Mention. In the reference wallet library, one account a transaction names (AccountMention). Not a protocol term (Terms used throughout).

Nullifier. A value published when a version of a private account, or a stored message, is used up, so it cannot be used twice.

Operate. Of a private PDA: hold its nullifier and viewing keys, so you can witness it, run its handlers privately and read its state, but not authorize it, which only the program’s seed grant does (Account ids).

PDA. Program-derived account. An account with no signing key, controlled by a program through a seed. A private PDA still has nullifier and viewing keys.

Poke. A message anyone may send that moves a public actor forward by its own rules.

Private part, public part. The two halves of a private transaction: private handlers proven on the user’s machine, public handlers run by the sequencer.

Program. A deployed RISC Zero guest binary, identified by the account id it is deployed at.

Promotion. Delivering an AsyncMessage to an undeclared destination inside its own transaction, at the submitter’s request, because the destination is one of the submitter’s own private actors. An AsyncMessage to a declared public actor is delivered at once without being a promotion.

Proof-carrying message. A message from a private actor to a public actor of the same program, trusted by the public side because the program’s own code produced it inside a proof.

Publication. A stored message: clear when the sender chose to publish it that way, sealed when the sender was private.

Quote. The base fees at the chain head, which the reference wallet reads before pricing a transaction (How fees are priced).

Recovery binding. An on-chain record that registers an address and lets its owner recognise it.

Root. The message a transaction is built to deliver, at the top of its message tree (Order of execution).

Sealed async message. A stored message encrypted to its recipient.

Seat. A participant’s own actor of a shared program, through which they speak to the program’s shared actor.

Seed grant. A program authorizing one actor of one of its PDAs, the destination of the seeded message, by attaching the seed to a SyncMessage. The PDA’s other actors are untouched.

Sequencer committee. The sequencer keys the stake program accredits by stake. They take turns producing zone blocks, vote channel parameters and approve system program upgrades (Sequencer stake).

Settlement. The sequencer applying a transaction to live state in a block. Settlement is not finality (Terms used throughout).

Shadow program. A program never deployed, run only inside a private transaction under an id derived from its image id (AccountId::for_shadow_program). The proof names it by a shadow witness and publishes no claim for it; the sequencer cannot load it, so a message reaching it in public execution fails with UnknownProgram (Program identity in a private transaction).

Shield, deshield. Wallet terms for a private transaction moving native tokens from a public account into a private one, or back (Terms used throughout).

SyncMessage. A message delivered immediately, in the same transaction. If it fails, the transaction fails. It returns no value.

Transition. A handler’s input together with its response: what a handler’s proof commits to.

Validity window. A range of blocks or timestamps outside which a transaction is invalid.

Witness. The evidence that a transaction may use an account: a public signer’s entry in the witness set, or what the prover holds to use a private account (Terms used throughout).

Zone. One chain of LEZ blocks, written into an L1 channel. Its zone id, a hash of the channel id and the genesis hash, is covered by every signature, so a transaction signed for one zone does not verify on another (The zone a signature is for); a chain recreated from a kept genesis salt can repeat the id (Starting clean).