|
|
3 years ago | |
|---|---|---|
| .. | ||
| mint-2 | 3 years ago | |
| README.md | 3 years ago | |
https://api.devnet.solana.com/
Tokens on Solana are - like everything else on Solana - accounts! They:
How they work:
Mint Account - stores information about the token.Associated Token Account - stores a specific balance of the Mint Account (this is essentially a counter).You can read all about tokens in Solana's official SPL Token documentation.
All examples in this folder demonstrate the following:
Each example differs in a few key aspects:
mint-1 - The Mint and the Mint Authority are generated keypairs.mint-2 - The Mint is a generated keypair. The Mint Authority is a Program Derived Address (PDA).mint-3 - The Mint and the Mint Authority are Program Derived Addresses (PDAs).