thepeanutgalleryandco / create-and-mint-nft-collection

This code repo has been created to help NFT enthusiasts to create their generative art via the Hashlips generative art codebase and then to utilize the NFTPort API service to upload their NFT files and finally mint them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] Start Edition From X

thepeanutgalleryandco opened this issue · comments

Summary

Add the ability to set the starting edition value of the collection so that upon collection creation, editions can start from any number specified.

Basic example

Set the starting edition value to 0 in a settings file, then my editions in the images folder should start with 0 and my json file will also start with 0, along with the edition inside the json file.

Motivation

This is needed to allow users to make use of the art generation scripts when generating art for their NFTPort Collection Contracts.

Created a new startCollectionEditionFrom setting in the constants/nft_details.js file. This will allow users to specify the edition number that their collection will start creating from.

Should the user select sol as their network, then choosing a value of less than 1 will start the collection creation with 0.

Should the user select eth as their network, then the value set will be used as the collection's starting value.

Should this setting be removed from the constants/nft_details.js file, then collection creation will start from edition 1.