solana-nft-token-metadata-update icon indicating copy to clipboard operation
solana-nft-token-metadata-update copied to clipboard

Updating Metadata post mint

Open thedonmon opened this issue 3 years ago • 8 comments

Hello, wondering if this tool can be used to update metadata post mint? If so what is the point of updating the cachefile?

thedonmon avatar Nov 21 '21 21:11 thedonmon

the purpose if update your NFTs after it was minted, like if you want to fix some typos in metadata. you need reupload new metadata to arweave so you will have new updated data to use. you can't edit existing data on arweave but you can upload new data and link NFT to it

jamland avatar Nov 22 '21 10:11 jamland

I will try to create step by step video tutorial in the next days since I had many questions about it already

jamland avatar Nov 22 '21 10:11 jamland

Got it, I figured it was post mint, but wasnt sure why the candy machine cache config needs to be updated, if you are just updating the mintaccount uri to point to the new data file?

thedonmon avatar Nov 23 '21 00:11 thedonmon

I will try to create step by step video tutorial in the next days since I had many questions about it already

Im a fool, I misread the instructions, the links just have to be in the correct format, not actually loading the whole cache file for the program to run... ok great thank you ser

thedonmon avatar Nov 26 '21 18:11 thedonmon

Otherwise newly updated links need to be formated to format of metaplex cache file. Put cache file into -> ./src/data/mainnet-beta-temp.json

So if i upload everything to arweave myself without using metaplex upload, I just need to update the metadatauri links in a template cachefile?

thedonmon avatar Nov 26 '21 18:11 thedonmon

@thedonmon yes, you can replace links with your own. Or you can simply use metaplex upload command on devnet. It will do the job for you and it will cost you nothing on devnet.

jamland avatar Nov 27 '21 08:11 jamland

@jamland

Can this also be done post "candy-machine withdraw" and after the NFT has been fully minted?

darek292 avatar Dec 31 '21 03:12 darek292

Yes, this script can be used only after mint is done. Cache file is used to simplify. process of uploading new metadata. After mint is done, you can create new candy machine with updated metadata on devnet for exmpl and use it with script on mainnet

jamland avatar Jan 01 '22 13:01 jamland