Deploying a Solana Memecoin using CLI
In this guide, we’ll walk you through the process of creating your own token on Solana, step by step, leveraging the power of the Solana Command Line Interface (CLI) tools and Metaplex.
. Install Solana CLI Tools
First, download the Solana Command Line Interface (CLI) tools with the necessary commands to interact with the Solana blockchain.
Click here: https://docs.solanalabs.com/cli/install

For windows you’ll have to run these commands:
and
2. Generate a Wallet
Then, use solana-keygen new to create a new Solana wallet. Remember to fund this wallet with SOL tokens to cover transaction fees.
3. Create Your Token
Execute the token creation command with a specified program ID, typically the Token Program’s ID for standard tokens. Save the output token address.
4. Set Up Your Project
Download this tool: https://github.com/webpov/solana_token_metadata and install dependencies with npm install. Prepare your project for token manipulation.
5. Configure Your Token
Create a .env file in your project with key details like your token address, coin name, symbol, and metadata URI.
6. Run the Setup Script
Execute thescript, with ts-node token22, to execute and finalize your token's setup, including minting and distribution configurations.
7. Mint Your Tokens
Create a token account with create-account, then mint tokens to this account using the mint command and the desired initial supply amount.

Last updated