Hey everyone, I’m having trouble with my NFT project on Solana. I used Candy Machine v2 with sugar to create my NFTs and a Collection NFT. The weird thing is, they ended up as separate collections.
I used sugar mint after setting up the cache file, but when I check on explorers, the collection is different. I tried using metaboss to migrate and even added Collection items to the NFT’s metadata, but no luck.
Any ideas on how to properly set the Collection name for these minted NFTs? I’m stuck and could really use some help!
hey there jade75! i’m kinda new to solana nfts too, but i’ve been diving deep lately. have you looked into the ‘set_and_verify_collection’ instruction? it’s part of the metaplex token metadata program and might be what you’re after.
i’m curious, did you set up the collection nft before minting the others? sometimes the order matters. also, what explorer are you using to check? some take a while to update properly.
oh, and random thought - have you tried asking in the solana discord? there’s usually some super helpful devs hanging out there. might be worth a shot if you’re still stuck!
what made you choose candy machine v2 for your project? i’ve been thinking about starting one myself and would love to hear about your experience so far!
hey jade75, ran into similar issues. have u tried using metaplex’s cli tool? it lets u update collection info after minting. check out their docs, might help. also, double-check ur candy machine config for collection settings. sometimes its sneaky n needs tweaking. good luck!
I’ve encountered this issue before. It’s often related to how the Candy Machine is configured. Make sure your config.json file has the correct ‘collection’ settings. It should include the address of your Collection NFT.
If that’s set correctly, you might need to verify the collection after minting. The Metaplex CLI has a command for this: ‘metaplex verify_collection’. Run this for each NFT, pointing to your Collection NFT.
Another thing to check: ensure your Collection NFT has the correct ‘Collection’ metadata field. This should match what’s in your Candy Machine config.
If all else fails, you can use the Metaplex JS SDK to manually set the collection for each NFT. It’s a bit more work, but it gives you fine-grained control over the process.