Learn how to organize, set up your rarity, and launch your open generative collection with NiftyKit.
Instead of just using a generator to create art, our Open Generative Collections create art when minting happens. Artists provide different layers, and the blockchain decides the final artwork. This will create unique versions of your art in infinite quantity.
You can enable this feature for both new and existing Diamond Drop Collections and Pro Collections.
Generative Collection is not available for Edition Collections
- 1.Launch your Drop or Pro collection by creating the smart contract using NiftyKit
- 2.Go to your collection dashboard
- 3.Navigate to the app tab
- 4.Click on [Add] for the Generative Collection option, as illustrated below.
Activating the Generative Collection App
- 1.Once the app is activated, go back to the Overview tab of your collection.
- 2.Click set up in Generative Collection
- 3.Upload your layers
Click activate and start minting your Open Gen
Ensure that the traits are organized in a folder structure, with the folder name being the name of the trait category and individual files under the folder are traits.
Ensure that folders are named with the layering order, 0 being the bottom-most layer. The layering order should come first, then the underscore, then the name of the trait category.
- Three Eyes.png
- Curly Black.png
Rarity is defined by which trait will have a higher chance of appearing, almost like throwing a dart on a board.
This setup will have an equal chance of getting each trait.
If we want to introduce rarity, we use the ‘#’ and a number assigned to it:
By appending rarity numbers, this setup says Oval has a 1000/1501 chance of getting it, Round has a 1/1501 chance, and Square will have a 500/1501 chance.
Lower the number, the rare it is.
Sometimes we want traits that don’t show up, and the best way to do that is to create an empty transparent PNG file, called “None” or “Empty” whichever makes sense for your collection.
This will have a 10000/11501 chance of getting an empty face.