Step 1: Create token
Learn how to create your application token
Prerequisites
Solana CLI: https://docs.solana.com/cli/install-solana-cli-tools
RLY CLI: https://github.com/rally-dfs/rly-ts/tree/main/packages/cli
RLY TS: https://github.com/rally-dfs/rly-ts/tree/main/packages/ts
npm i -g rly-cli
or
yarn global add rly-cli
Additional resources
Example React app: https://rly-ts-eight.vercel.app/
Example TS tests: https://github.com/rally-dfs/dfs-ts/tree/main/ts/tests
Create your token
Step 1: Create Token
Configure your token parameters, additional metadata, and the initial token supply to mint. A balance of at least 1 SOL is required.
rly-cli create-token [options]
Options:
-e, --env <string> Solana cluster env name (default:
"devnet")
-k, --keypair <path> Solana wallet location (default:
"--keypair not provided")
-n, --name <string> token name
-s, --symbol <string> token symbol
-d, --dec <number> token decimals (default: "9")
--supply <number> initial supply (integer value)
-h, --help display help for command
The initial token supply will be minted to the associated token account for the keypair creating the token.
That's it!
In this section you should have:
Created your on-chain SPL app token
Minted an initial token supply to the associated token account
Verified your token and supply on chain
Verified your token name, symbol, and logo on an explorer/wallet
Additional Resources
Solana CLI guide: https://docs.solana.com/cli/install-solana-cli-tools
Solana wallet guide: https://docs.solana.com/wallet-guide/cli
Last updated