how to create new solana memecoins the cheap way
How to create and launch solana meme coin token
This codebase provides pre-built scripts to help you:
- Create token metadata including information about the token name, token symbol, social urls and description.
- Mint tokens to your wallet address
- Revoke mint and freeze authority
disclaimer: Use this code at your own risk as it is here for educational purposes, there is no guarantee of profit! DO NOT use the default solana RPC in production, instead use an RPC provider to ensure reliability, speed and effectiveness of the bot.
A good recommendation is helius labs. You can sign up for free here helius rpc and use the referal code 3wISAeRX8K to get 5,000,000 free credits on the paid plan. 1 rpc call is 1 credit.
Once you've signed up, add the RPC_ENDPOINT to a .env file as per the format in the .env.example file.
Prelude:
- Install dependencies:
npm install - Copy the
.env.examplefile into a new.envfile. - create wallet keypair or use existing one. Put secret key as the value of
WALLETSECRETKEYin.envfile - As per disclaimer above, replace default rpc endpoints with a rpc provider endpoints.
- To upload token metadata off-chain you can use NFT Storage free here nftstorage. Once you sign up go to the
api keystab and generate a new api key. Then store the api key inNFTSTORAGEAPI_KEYin your.envfile. - Make sure to change network in
constants.tsas required. It isdevnetby default, if you want to create a real live token change tomainnet-beta. - in
constants.tschange the information about your token in thetoken_infovariable. - in the image folder add your token logo as jpeg or png. In
constants.tsyou can change theimageFilepath andimageFileNamename.
Mint token and upload metadata
Run the scripts in your terminal:
npm run upload-metadatato upload metadata information from yourtoken_infoto the create a off-chain uri.- Add the
uristring to yourtoken_infovariable. npm run mintto mint tokens to your wallet and upload metadata on-chain. This script will also revoke mint and freeze authority.
You need your token address for the next step.
Create market id and new liquidity pool
The scripts to create market id, create new lp, and burn token are only available to premium users. If you'd like access to these scripts and the full in-depth workshop tutorial, check out the preview video and access link here
Troubleshooting
- airdrop internal error: retry the script with a rpc provider connection instead of default solana connection. If that doesn't work, use a faucet here: airdrop resources
Contact
For community discussions on sniper bots and creating new tokens:
For any business inquiries, reach out at:
- Telegram:
archiekomik