Deploying a Solana Memecoin using CLI
Last updated
Last updated
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.
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
Then, use solana-keygen new
to create a new Solana wallet. Remember to fund this wallet with SOL tokens to cover transaction fees.
Execute the token creation command with a specified program ID, typically the Token Program’s ID for standard tokens. Save the output token address.
Download this tool: https://github.com/webpov/solana_token_metadata and install dependencies with npm install
. Prepare your project for token manipulation.
Create a .env
file in your project with key details like your token address, coin name, symbol, and metadata URI.
Execute thescript, with ts-node token22
, to execute and finalize your token's setup, including minting and distribution configurations.
Create a token account with create-account
, then mint tokens to this account using the mint
command and the desired initial supply amount.