Skip to content

Monadical-SAS/Metaplex-Utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Candy machine utils

In this repo you are going to find common scripts ussually used to obtain or modify Metaplex NFTs metadata. You have to install https://www.npmjs.com/package/ts-node

You can run using

ts-node index.ts <command-name> <parameters>

Use this two scripts if you want to update arweave metadata of a NFTs list. You can obtain the mint list using this. https://metaboss.rs/snapshot.html#snapshot-mints

upload-to-arweave

If you have to upload arweave files in batch without create a candy machine and using SOL$ instead of Arweave coins, you can use this script for that, just have to specify your RPC, the keypair of your wallet and the directory to upload.

Name Description
-r, --rpc Solana rpc
-d, --dirname Local folder to read files
-k, --keypair Solana wallet location

Optional

Name Description
-o, --output Output file
-e, --env Solana cluster env name
-c, --cache Cache file

generate-new-metadata

When you use CANDY MACHINE V2, there's a common problem related to edition name, as you already now all the editions use the same metadata link and this link doesn't have the edition number. (This problem is also common when you edit the metadata on chain). So, for that we created this little script that given a mint list recreate the arweave metadata but now with the on chain name.

Name Description
-r, --rpc Solana rpc
-m, --mints-path json mints file
-b, --batch-size batch size

WIP

get-editions

Generate editions of a given master edition

Name Description
-r, --rpc Solana rpc
-m, --mint mint of master edition
-s, --supply current supply

get-editions-owners

Generate owners of a given master editions

Name Description
-r, --rpc Solana rpc
-f, --file master editions file
Usage: index [options] [command]

Options:

-V, --version output the version number

-h, --help display help for command

Commands:

upload-to-arweave [options] Upload local dir to arweave using SOL.

generate-new-metadata [options] Generate new arweave metadata with edition number of a giving mint list

get-editions [options] Generate editions of a given master edition

get-editions-owners [options] Generate owners of a given master editions

help [command] display help for command

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published