This guide provides step-by-step instructions for deploying SPL tokens on the Solayer network using the devnet RPC endpoint and mainly covering 4 actions.
# Check current balancesolana balance# Request airdrop (you will have to repeat this process till your wallet has enough balance)solana airdrop 1# Verify balancesolana balance
Note: Ensure you have at least 1-2 SOL for token creation and operations.
# Mint tokens to your accountspl-token mint [MINT_ADDRESS] [AMOUNT] [TOKEN_ACCOUNT]# Example:# spl-token mint 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHU 1000
# Transfer tokens to another accountspl-token transfer [MINT_ADDRESS] [AMOUNT] [RECIPIENT] --allow-unfunded-recipient --fund-recipient# Example:# spl-token transfer 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHU 100 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM --allow-unfunded-recipient --fund-recipient