Nozioni di base sui token SPL
Questa sezione copre le nozioni di base per interagire con i token SPL, concentrandosi sulle istruzioni più comunemente utilizzate.
Tutti gli esempi in questa sezione funzionano in modo identico sia con il Token Program originale che con il Token Extensions Program (Token 2022), poiché condividono la stessa implementazione di base.
Le istruzioni più comuni che vedrai quando interagisci con i token SPL includono:
Create a Token Mint
Learn how to create an SPL Token mint.
Create a Token Account
Learn how to create SPL Token Accounts.
Mint Tokens
Learn how to mint new units of a token.
Transfer Tokens
Learn how to transfer tokens between token accounts.
Approve Delegate
Learn how to approve delegates for a token account.
Revoke Delegate
Learn how to revoke the token account delegate.
Set Authority
Learn how to set authority for mints or token accounts.
Burn Tokens
Learn how to burn tokens.
Sync Native
Learn how to convert native SOL to wrapped SOL.
Close Token Account
Learn how to close token accounts.
Freeze Account
Learn how to freeze token accounts.
Thaw Account
Learn how to thaw a frozen token account.
Is this page helpful?