thuglabs / solana-nft-token-metadata-update

Node.js script to update NFT Token metadata on Solana Blockchain
153 stars 57 forks source link

Avoid re-uploading images on Arweave (and pay the fee) #7

Open HRK44 opened 2 years ago

HRK44 commented 2 years ago

Hi,

I wanted to know if it's possible to avoid re-uploading the images on AR especially if I just want to change a trait field in the json metadata and the image is already on AR?

jamland commented 2 years ago

in general, you don't need reupload images and can use existing within new json and just upload json. This script don't in the way it uses links to json. We assume you have used candy machine to re-upload stuff. but you can create same format file manually . Check example in data folder https://github.com/thuglabs/solana-nft-token-metadata-update/tree/master/src/data

jamland commented 2 years ago

btw, you can use candy machine on devnet to reupload files even with all images updated again. it won't cost you any money on devnet but the files will be real and relevant. In any case make sure to test on few NFTs before updating all collection =)

pixmon commented 2 years ago

Hello, does it means that i can upload the nft with new traits on devnet and then i can update the one on mainnet-beta?

jamland commented 2 years ago

@pixmon yes you can