I just made some NFTs using Candy Machine v2 with the sugar tool. But I’m having a weird issue. The NFTs and the Collection NFT got created, but they’re showing up as separate collections. Weird, right?
Here’s a snippet from my cache.json:
{
"program": {
"candyMachine": "ABCDE123456789XYZ",
"candyMachineCreator": "987654321ZYXWVU",
"collectionMint": "QWERTY098765UIOP"
},
"items": {
"-1": {
"name": "Cool Gadget",
"image_hash": "1a2b3c4d5e6f7g8h9i",
"image_link": "https://example.com/cool-gadget.png",
"metadata_hash": "9i8h7g6f5e4d3c2b1a",
"metadata_link": "https://example.com/cool-gadget.json",
"onChain": true
}
}
}
I used sugar mint after this, but when I check on explorers, the collection is different. I tried using metaboss to fix it, but no luck. Even adding Collection items to the NFT’s metadata didn’t work.
Any ideas on how to set the Collection name correctly? I’m stumped!