Mint with a PDA as mint authority.
See also: Pda Mint Authority overview and the repository catalog.
- PDA mint authority
- mint_to CPI
create_minttakes adecimalsinstruction argument and initializes the mint with itmint_tokenstakesamountin minor units, the raw integer the token program operates on
From tokens/pda-mint-authority/quasar/:
quasar buildPrerequisites: Quasar CLI and Agave toolchain (see Quasar.toml).
In-process tests via Quasar SVM (quasar-svm in Quasar.toml):
cargo testTests invoke instruction handlers and assert onchain state. No local validator.
Read src/ and Quasar.toml. Compare with the Anchor variant in the same example where present.