1 stable release
| 3.2.3 | Nov 14, 2025 |
|---|---|
| 3.2.2 |
|
| 3.1.1 |
|
| 3.0.0 |
|
#4 in #directing
309 downloads per month
Used in 34 crates
(28 directly)
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