Solana: Minting an NFT Using Sugar, Candy Machine, and Filebase
Learn how to mint an NFT on Solana with Sugar, Candy Machine, and Filebase.
What is Solana?
1. Begin by downloading the latest Solana package:
2. Next, generate a new Solana wallet and key pair with the command:
3. Next, set your newly generated Solana key pair as the default to be used with the Solana Devnet, which is the test network:
4. Then, configure the following devnet RPC URL to use the following RPC URL:
5. To confirm your Solana configuration, use the following command:
6. Next, you’ll need some Solana to be used on the devnet. Use the following command to get 2 SOL to use:
7. Then, download the Sugar CLI with the command:
8. Then use the following command to create a sugar configuration:

9. Then, configure a local file called ~/.aws/credentials to reflect the following:
~/.aws/credentials to reflect the following:10. Next, you will need a folder called ~./assets that contains your NFT collection image files with correlating JSON files, each named sequentially such as ‘0.png, 1.png, 2.png,’ etc.
~./assets that contains your NFT collection image files with correlating JSON files, each named sequentially such as ‘0.png, 1.png, 2.png,’ etc.11. Then, upload your images and json files to Filebase with the command:
12. Deploy your collection onto the Solana devnet network with the command:
13. You can verify the deployment with the command:
14. Then, to mint your collection, use the command:
Last updated