how to launch nft collection in solana blockchain using sugar cli

how to launch nft collection in solana using sugar cli
how to launch nft collection in solana using sugar cli

Basically metaplex have brought a new version of launching nfts in solana blockchain using sugar cli which is lot more easy than the earlier process as it has some amazing features which helps in performing all the steps will ease

Also if you get any doubts regarding candy machine or metaplex sugar cli then you can visit to metaplex docs for further information or you can ask your queries in their discord channels they will sure reply to your questions

But for now , Let’s Learn about how we can launch our NFTs in solana using sugar cli

Step 1) Download Sugar cli from Metaplex Docs :

First of all you need to search on google “metaplex docs” then after getting into the website you can download sugar cli as i am using windows so I will choose windows and then download the winstaller but remember you need to use Firefox browser for downloading the source code because in chrome it might doesn’t work

how to launch nft collection in solana using sugar cli
how to launch nft collection in solana using sugar cli

Step 2) Install Solana Tool Suite :

In this step , you need to run two major commands for installing solana tool suite just perform this steps below :

  • Go to solana docs
  • Click on the Command Line
  • Then click on install solana tool suite
  • Choose windows and then copy both the lines and run one after another in your command prompt
how to launch nft collection in solana using sugar cli
how to launch nft collection in solana using sugar cli

Step 3) Create New Solana wallet for the mainnet :

You need to create a mainnet or devnet wallet in which you can add funds for renting candy-machine and providing transaction fees for uploading NFTs in solana. So, run the below commands for creating new wallet

solana-keygen new -o asset_file_path/keypair.json

After you create a new wallet you can make this wallet as your main wallet where all yours funds are present to deduct for uploading and paying transaction fees

solana config set --keypair asset_file_path/keypair.json

Then you can set your rpc url to devnet or mainnet as per your convinence but i would recommend to try using devnet first after that you can upload in mainnet to avoid bugs or errors

solana config set --rpc https://api.devnet.solana.com

Make sure you have added some funds in your wallet to proceed in the next step

Step 4) Launch sugar for creatng config and uploading :

After you have setup everything now its time for launching your sugar and uploading your NFTs , so you need to just type in your command prompt

sugar launch

Then it would ask some questions like :

  • whether you want to create config automatically ? choose yes
  • how many nfts are present in your collection ?
  • seller bases point is correct or not ?
  • Want to upload collection through NFT storage (Free ) , Arwave etc

After you have answered this question it will automatically upload and verify all your NFTs as well

Step 5) Set up Minting dapp using candy machine :

You can download the updated candy machine from metaplex github repository and downloading just extract the zip file and then open the source code using code editor ( visual code ) then you need to type two commands and need to change some lines of code listed below :

yarn install

After you run this command in the terminal you need to change the candy machine id as well rpc url as devnet or mainnet according to which network you have uploaded

how to launch nft collection in solana using sugar cli
how to launch nft collection in solana using sugar cli

then the last step will be run this command in the terminal to start the minting dapp in the local server

yarn start

If you want to host this NFT minting dapp in google then make a build folder and upload that build folder in netlify or other hosting service to make it live

how to launch nft collection in solana using sugar cli

You can watch this video if you face any problem regarding all this steps also subscribe to my youtube channel as well

Just need to have basic knowledge of solana blockchain or just view the documentation from metaplex and perform every step that's all is needed

You can upload your nft collection in famous nft marketplaces also you can do some marketing as well to get some sells

You can read my previous blogs :

How to run google ads for nft collection ?

How to bulk upload nfts in opensea ?

Related Posts

Leave a Reply

Your email address will not be published.