1 stable release

3.2.3 Nov 14, 2025
3.2.2 Nov 5, 2025
3.1.1 Oct 30, 2025
3.0.0 Oct 26, 2025

#4 in #directing

Download history 100/week @ 2025-10-23 16/week @ 2025-10-30 13/week @ 2025-11-06 77/week @ 2025-11-13 68/week @ 2025-11-20 102/week @ 2025-11-27 75/week @ 2025-12-04 54/week @ 2025-12-11 83/week @ 2025-12-18 76/week @ 2025-12-25

309 downloads per month
Used in 34 crates (28 directly)

Apache-2.0

41KB
465 lines

Types for directing the execution of Trezoa programs.

Every invocation of a Trezoa program executes a single instruction, as defined by the Instruction type. An instruction is primarily a vector of bytes, the contents of which are program-specific, and not interpreted by the Trezoa runtime. This allows flexibility in how programs behave, how they are controlled by client software, and what data encodings they use.

Besides the instruction data, every account a program may read or write while executing a given instruction is also included in Instruction, as AccountMeta values. The runtime uses this information to efficiently schedule execution of transactions.

Dependencies

~0.3–2MB
~38K SLoC