All Projects → thuglabs → solana-nft-token-metadata-update

thuglabs / solana-nft-token-metadata-update

Licence: other
Node.js script to update NFT Token metadata on Solana Blockchain

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to solana-nft-token-metadata-update

metaplex
A directory of what the Metaplex Foundation works on!
Stars: ✭ 3,233 (+2160.84%)
Mutual labels:  nft, solana
solana-nft-monitor
Monitor Solana NFT projects using Github Actions + flatgithub.com
Stars: ✭ 31 (-78.32%)
Mutual labels:  nft, solana
awesome-defi
Curated list of awesome DeFi protocols, dapps, wallets and other resources
Stars: ✭ 36 (-74.83%)
Mutual labels:  nft, solana
air-support
Airdrop automation tools for Solana from The Skeleton Crew
Stars: ✭ 112 (-21.68%)
Mutual labels:  nft, solana
MetaplexMetadata-js
Get the Metaplex Metadata from NFTs with Metaplex standard
Stars: ✭ 48 (-66.43%)
Mutual labels:  nft, solana
metaplex-cli
Command line interface for Solana Metaplex programs.
Stars: ✭ 16 (-88.81%)
Mutual labels:  nft, solana
fetch-nft
🖼🎑🌠 A utility to fetch and easily display Ethereum & Solana NFTs in a common format given any wallet
Stars: ✭ 83 (-41.96%)
Mutual labels:  nft, solana
arloader
Rust command line application and client for uploading files to Arweave.
Stars: ✭ 79 (-44.76%)
Mutual labels:  nft, solana
metaboss
The Metaplex NFT-standard Swiss Army Knife tool.
Stars: ✭ 575 (+302.1%)
Mutual labels:  nft, solana
carbon-footprint
Calculate your carbon footprint 🏭👣 from food, transport, purchases, fashion, electricity and digital activities like streaming, NFT or blockchain.
Stars: ✭ 59 (-58.74%)
Mutual labels:  nft
proof-of-kyc
An NFT that proves you've gone through an identity verification process, powered by Stripe Identity.
Stars: ✭ 78 (-45.45%)
Mutual labels:  nft
Artion-Server
Artion API Server
Stars: ✭ 26 (-81.82%)
Mutual labels:  nft
bitcoincashj
A library for working with Bitcoin Cash
Stars: ✭ 38 (-73.43%)
Mutual labels:  nft
snes-punks
Real world example of a full-stack Ethereum web app for supporting minting of NFT's from a collection using Tailwind, NextJS an nes.css. Contracts are written in Solidity with the help of HardHat.
Stars: ✭ 43 (-69.93%)
Mutual labels:  nft
alon
Remix for Solana.
Stars: ✭ 87 (-39.16%)
Mutual labels:  solana
NFT-Dapp-Boilerplate
A highly scalable NFT and DEFI boilerplate with pre added web3 and different wallets with a focus on performance and best practices
Stars: ✭ 51 (-64.34%)
Mutual labels:  nft
rarity-analyser
Cool Rarity is an open source package for easy rarity score calculation with ERC721 NFT metadata collection. It was born in punkscape 01 rarity analyser hackathon.
Stars: ✭ 82 (-42.66%)
Mutual labels:  nft
bcdhub
Better Call Dev backend
Stars: ✭ 30 (-79.02%)
Mutual labels:  nft
cryptoplease-dart
Dart and Flutter apps and libraries maintained by Espresso Cash (Formerly Crypto Please) team for Solana.
Stars: ✭ 188 (+31.47%)
Mutual labels:  solana
dungeons-and-dragons-nft
#chainlink #nft
Stars: ✭ 583 (+307.69%)
Mutual labels:  nft

🌅 Script to update Solana NFT Token Metadata

This script updates existing NFTs (replaces json metadata) created with Candy Machine v1 on the blockchain with updated metadata. It have 2 commands: download-meta current metadata and update with new metadata.

Demo

update.token.demo.mp4

Script logs all failed tokens in case of any, so you can retry upload them separately. Also, it do update retry with some sleep time in case of fail. By default it suppose to update tokens in the list between 0 and 10k. you can edit specific range at this line. Also, you can set to update single token here.

Prepare

Install dependencies.

yarn

Set your Candy Machine ID within: src/constans.ts. Place all your tokens addresses (mint id) as string array to the ./src/data/token-list-to-parse.json.

Download current meta.

You need download existing metadata for further reuse on update command. Run

yarn download-metadata

It will get array of tokens from ./src/data/token-list-to-parse.json and fetch all metadata to the file src/data/current-metadata-cache.json (may take ~1hr for 1k items).

Create new updated metadata on Arweave.

It can be done with metaplex upload same as when creating new candy machine. Tip: You can upload to devnet with same result, arweave links will be still valid. Otherwise newly updated links need to be formated to format of metaplex cache file. Put cache file into -> ./src/data/mainnet-beta-temp.json

Update metadata for tokens

Place mainnet-beta-temp.json into ./src/data/.

Local keypair should be the same as keypair used to create related Candy Machine, and assumed to be an Update Authority for each token in the list. Default env is `devnet

yarn run update --keypair <PATH_TO_LOCAL_KEYPAIR> --env mainnet-beta
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].