|
hace 2 años | |
---|---|---|
.. | ||
.assets | hace 2 años | |
create-nft | hace 2 años | |
create-spl-token | hace 2 años | |
mint-2 | hace 3 años | |
README.md | hace 3 años |
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).