Solana: Minting an NFT Using Sugar, Candy Machine, and Filebase
Learn how to mint an NFT on Solana with Sugar, Candy Machine, and Filebase.
Last updated
Was this helpful?
Learn how to mint an NFT on Solana with Sugar, Candy Machine, and Filebase.
Last updated
Was this helpful?
Solana is a high-performance, open-source blockchain that is designed to scale and support decentralized applications with fast transaction processing speeds and low fees. It was built to be scalable, secure, and developer-friendly, making it a popular choice for building decentralized finance applications, NFT marketplaces, and gaming platforms.
Read below to learn how to mint an NFT on Solana with Sugar, Candy Machine, and Filebase.
sh -c "$(curl -sSfL https://release.solana.com/v1.15.1/install)"
solana-keygen new --outfile ~/.config/solana/devnet.json
solana config set --keypair ~/.config/solana/devnet.json
solana config set --url https://metaplex.devnet.rpcpool.com/
solana config get
solana airdrop 2
bash (curl -sSf https://sugar.metaplex.com/install.sh)
sugar create-config
When prompted, the answers to the configuration questions will vary based on your NFT collection’s configuration parameters. The important questions to pay attention to are the ones used to configure Filebase as your NFT upload location:
What upload method do you want to use?: AWS
What is the AWS S3 Bucket Name?: Your Filebase IPFS Bucket Name
What is the AWS profile Name?: Default
What is the Directory Name?: Leave blank by pressing enter.
Since Filebase is S3-compatible, it can be used in place of AWS in this configuration.
~/.aws/credentials
to reflect the following:Replace FILEBASE_ACCESS_KEY and FILEBASE_SECRET_KEY with your Filebase Access and Secret keys.
~./assets
that contains your NFT collection image files with correlating JSON files, each named sequentially such as ‘0.png, 1.png, 2.png,’ etc.sugar upload
sugar deploy
sugar verify
sugar mint
Do you have a custom domain?:
An example download of this folder can be found .