10 releases
| new 0.2.0 | Feb 26, 2026 |
|---|---|
| 0.2.0-alpha.2 | Feb 12, 2026 |
| 0.2.0-alpha.0 | Jan 29, 2026 |
| 0.1.10 | Dec 9, 2025 |
| 0.1.6 | Nov 28, 2025 |
#2 in #directing
864 downloads per month
Used in 96 crates
(55 directly)
105KB
1.5K
SLoC
Types for directing the execution of Solana programs.
Every invocation of a Solana 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 Solana 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.2–1.6MB
~30K SLoC