This open-source repository provides a comprehensive toolkit for building decentralized meme applications on the Solana blockchain. It empowers developers with essential functionalities to create, manage, and interact with meme-related tokens (NFTs) on Solana.
- Clone this repo to your local system
- Install the packages via
npm install - Copy rename the
example.envfile to be named.env - Update the
RPC_URLvariable to be the cluster URL of a supporting RPC provider
After setting up locally, we recommend exploring the code of the following files (in order):
After reviewing the code in each of these scripts, try running each in order.
Note: Running each of these scripts may save some various bits of data to a
.local_keysfolder within this repo for use by the other scripts later in this ordered list. Therefore, running them in a different order may result in them not working as written/desired. You have been warned :)
- This script helps to create a token on solana chain with metadata.
- Before you create token using this script if you want your token metadata to be rendered in solscan/solana explorer use the metadata template in this repository assets.
This script helps to mint the supply of tokens that we created using the create script.
With the help of revokeMintAuthority script we can revoke mint authority on token we minted and therefore ensures no more tokens can be minted and token have a fixed circulating supply.
This script helps to transfer specified amount of tokens to target address passed in transfer script.
This updateTokenMetadata script helps to update metadata of token if we need to rectify anything.