Expand description
Allocation and initialization of legacy SPL and Token-2022 mints.
A MintPlan ties the exact allocation to the extension initializers it
will execute. It uses no heap allocation and initializes extensions before
the base mint. It deliberately supports a bounded set of fixed-size mint
extensions; variable-length metadata and confidential extensions are not
inferred or initialized automatically.
Structs§
- Initialize
Mint2 - Low-level
InitializeMint2CPI builder for either token program. - Mint
Config - Base mint configuration. Initializing a mint does not mint any supply.
- Mint
Instruction Data - Stack-backed canonical mint instruction data, bounded at 78 bytes.
- Mint
Plan - Validated, allocation-free mint creation plan.
Enums§
- Mint
Extension - Fixed-size mint extensions supported by
MintPlan. - Mint
Program - The two token programs supported by mint initialization.
Constants§
- TOKEN_
2022_ PROGRAM_ ID - Token-2022 program address.