samuelvanderwaal / metaboss

The Metaplex NFT-standard Swiss Army Knife tool.
Apache License 2.0
690 stars 220 forks source link

Request: Create MasterEditions with max_supply > 0 and mint copies #124

Closed znebby closed 2 years ago

znebby commented 2 years ago

Sometimes NFTs have a set number of copies, or some are even unlimited. Metaplex supports this use case.

We need to be able to create a MasterEdition, and then mint copies of a specific MasterEdition.

samuelvanderwaal commented 2 years ago

@znebby This is not documented yet but is supported in 0.6.0+ with:

metaboss mint one --max-editions <int>

metaboss mint editions -- either mint the next n editions sequentially using --next-editions OR -- mint specific edition numbers using --specific-editions

metaboss find missing-editions -- find any missing edition numbers in the sequential list of ones already minted

metaboss mint missing-editions --find any missing edition numbers and mint them to the authority keypair

samuelvanderwaal commented 2 years ago

I just realized --max-editions doesn't support infinite editions but that's an easy fix I'll get out in the next day or so by allowing you to set --max-editions to -1 for infinite supply.

samuelvanderwaal commented 2 years ago

@znebby this is documented now and infinite editions are also supported. Let me know if you have any issues with it.