SPL 토큰 기초
이 섹션에서는 SPL 토큰과 상호작용하기 위한 기초를 다루며, 가장 일반적으로 사용되는 명령어에 중점을 둡니다.
이 섹션의 모든 예제는 원래의 Token Program과 Token Extensions Program(Token 2022) 모두에서 동일하게 작동하며, 두 프로그램은 동일한 기본 구현을 공유합니다.
SPL 토큰과 상호작용할 때 가장 흔히 볼 수 있는 명령어는 다음과 같습니다:
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?