DEV Community

Cover image for Creating an NFT on Solana with Metaplex Candy Machine.

Creating an NFT on Solana with Metaplex Candy Machine.

Devind Dev on October 31, 2021

Guide Overiew After what felt like walking through a mine field trying to figure out how to create my own NFT on Solana with the current...
Collapse
 
ccamaleon5 profile image
ccamaleon5

thanks, I followed your tutorial, but I got one error trying mint a NFT from web page, which says "Unhandled Rejection (TypeError): Cannot read properties of undefined (reading 'digest')", I check candy-machine/.env file many times.

Collapse
 
devindxdev profile image
Devind Dev • Edited

Hey ccamaleon5! Could you reach out to me on Discord? I'd love to help you out solve this. My Discord Tag: Devind Dev#2806
I believe this may be caused by the treasury address value, set it as value of authority you find in your devnet-temp file and try.
Update: I was able to reproduce the error by opening the web app via 192.168.x.x:3000
More on this: stackoverflow.com/questions/571465...
You can try running it as localhost:3000 and it should work properly.

Collapse
 
samartha_naveen_b613be4d8 profile image
Samartha Naveen

i really really need some help. i have added you, accept the frnd request. my name is Samartha#3954, wanna have a advisory chat with you :)

Collapse
 
adityapadwal profile image
Aditya Padwal

Requires correction in $ ts-node metaplex/js/packages/cli/src/candy-machine-cli.ts upload assets --env devnet --keypair ~/.config/solana/devnet.json

It should be candy-machine-v2-cli.ts for "upload" option.
Rest superb blog.

Collapse
 
pmc23 profile image
Patrick

Thanks for this guide, Devind. We published an updated guide for Candy Machine V2 (more recent) - you can find the guide here: Easy Guide To Mint Solana NFTs Using Candy Machine V2. There are several feature upgrades in V2. Feel free to update the article here with the info from our V2 guide.

Collapse
 
stradivario profile image
Kristiqn Tachev

Thanks ! Awesome!

Collapse
 
sgvolpe1 profile image
sgvolpe1

Thanks for this publication, if I create a collection of 2000 NFT, but in this first stage, I want to create a candy of 500, and in a few months to create another of 500, would this be a problem? are they associated in the same collection?

Thanks.

Collapse
 
khushhal23 profile image
Khushhal23

Yeah sure! That's not a problem but remember to create a new candy machine for it as you can't add more items to an existing candy machine

Collapse
 
cosmin profile image
Cosmin Pert

Hi. I would like to discuss this further with you and develop a long-term collaboration. Would that be possible? Thanks.
Write me on cosmin.pert@gmail.com or whatsapp / telegram +40 762 300 010

Collapse
 
kalanig23 profile image
Geet Kalani

\metaplex> solana airdrop 1
Requesting airdrop of 1 SOL
Error: unable to confirm transaction. This can happen in situations such as transaction expiration and insufficient fee-payer funds

Collapse
 
khushhal23 profile image
Khushhal23

Check your keypair and api

Collapse
 
kalanig23 profile image
Geet Kalani

hi, I am not able to see the SOL in phantom wallet. Please resolve my problem.

Collapse
 
devindxdev profile image
Devind Dev

Hey! Did you change it to devnet?

Collapse
 
sandipan_mukherjee_97fef2 profile image
Sandipan Mukherjee

once nft has been uploaded on metaplex, are we still able to make any changes etc?

Collapse
 
khavazhi profile image
Khavazhi

Hello! How can I contact you ?

Collapse
 
aminebidda profile image
aminebidda • Edited

Thank you
Do we need to create a new candy machine every time we use
the candy-machine-cli.ts upload?

Collapse
 
devindxdev profile image
Devind Dev

Yup.