The Problem
Creating a Solana SPL token with metadata — name, symbol, image, description — traditionally requires writing code or using a GUI tool. For developers who prefer the terminal or need to script token creation, there was no clean CLI solution.
What It Is
token-cli is a command-line tool for creating Solana SPL tokens with full Metaplex metadata. It handles the entire token creation flow: mint creation, metadata upload, and on-chain registration — all from your terminal.
How It Works
Run the CLI, provide your token details interactively (name, symbol, supply, decimals, image), and the tool handles:
1. Creating the SPL token mint
2. Uploading metadata to decentralized storage
3. Registering metadata on-chain via Metaplex Token Metadata program
4. Minting initial supply
Tech Stack
Built on @metaplex-foundation/umi, @metaplex-foundation/mpl-token-metadata, @solana/spl-token, and @solana/web3.js. The CLI uses inquirer for interactive prompts.
Installation
npm install -g token-cliWhy I Built It
Token creation should be a command, not a web form. token-cli is for developers who live in the terminal and want to spin up Solana tokens the same way they'd create any other resource — with a script, repeatably, without touching a browser.
