This repository contains full tutorial on Solana SPL token
MacOS & Linux
sh -c "$(curl -sSfL https://release.solana.com/v1.9.5/install)"Windows
curl https://release.solana.com/v1.9.5/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirscargo install spl-token-cliFor this tutorial, we're going to use a Filesystem wallet. This is sufficient for testing, but not recommended for production purpose.
solana-keygen new --no-outfileCheck your Solana Cluster configuration
solana config getSet the Solana Cluster to Testnet
solana config set --url https://api.devnet.solana.comTo check you SOL balance
solana balanceTo get some testnet SOL
solana airdrop 1
First, create the token
spl-token create-tokenUsing the unique token identifier, we can create an account to store our balance data
spl-token create-account <token-identifier>Once the account is created, we can mint some SPL tokens.
spl-token mint <token-identifier> <token-amount>To check the total supply of the token, use the following command
spl-token supply <token-identifier>To check the balance of the token, use the following command
spl-token balance <token-identifier>First, create the token
spl-token create-token --decimals 0Using the unique token identifier, we can create an account to store our balance data
spl-token create-account <token-identifier>Mint only one token into the account
spl-token mint <token-identifier> 1 <token-account>Disable future minting
spl-token authorize <token-identifier> mint --disable