Learn how to create, initialize, and manage SPL tokens on Solana using native Rust. Covers creating token mints as PDAs with program-controlled authorities, initializing mints with custom decimals, creating associated token accounts (ATAs), and burning tokens. Includes practical code examples for building on-chain token functionality, handling base units and decimals, and implementing supply controls through mint authority management.

10m read timeFrom blog.developerdao.com
Post cover image
Table of contents
Permalink How do Solana Tokens Work?Permalink Setting Up a Development EnvironmentPermalink Creating and Initializing a Token MintPermalink Creating an Associated Token AccountPermalink Burning TokensPermalink Conclusion

Sort: