How to create an NFT collection (simplified)

Scroll Down

Design approach

Create an unique avatar image by combining different traits together. For example:


Hair

Color of “skin”

Facial hair

Accessories
- hats
- scarfs
- sunglasses

And unique trades as (ambassador styling)


Assign Trait Rarity

Each avatar consists of the traits as explained above. Some hair has to be rarer than others. For this, You will need to assign weights to the different types of noses you have. 


Create your own library

Libraries are used in case you want a different name for your trait. For the sake of simplicity, the original file names are retained for the faces.

Hair-style-1

Hair-style-2

Hair-style-3

Hair-style-4

Facial-hair-1

Facial-hair-2

Facial-hair-3

Facial-hair-4

Color-of-skin-1

Color-of-skin-2

Color-of-skin-3

Color-of-skin-4

Accessories-1

Accessories-2

Accessories-3

Accessories-4

Ambassador-1

Ambassador-2

Ambassador-3

Ambassador-4


Define the image traits 
Each avatar image that you will create will be a combination of 5 trails on top of each other: Hair, skin, facial hair, accessories and a unique trade. Therefore, you write a for loop that combines these traits into a single picture for a specified total number of pictures. Decide the order of the traits. So nothing covers up the specific layers.


Validate uniqueness
It is important with NFT avatar projects that every avatar is unique. Consequently, you will need to check if all images are unique. A simple function is written that loops over all the images and stores them into a list and returns the duplicate images.


Generate the Images

  1. Run script on Javascript (Github repo example) locally and link to Moralis.
  2. Generate art and link to Moralis IPFS (Server) and store it in the server.
  3. Get the unique identifiers back as Metadata (JSON script for the CID). This information will include names, rarity etc per image. 
  4. Upload the Metadata + CID back to IPFS. On the server the metadata will be linked to the artwork. Use a testnet (server) to check if everything is correct.
  5. Put the art + metadata onchain (using erc1155 standard). Once On Chain, users can see and buy the art. 



Try Us

Let's talk

Contact Us

Let's talk 👋

Contact Us

Let's talk

Contact Us

Let's talk

Contact Us

Scroll Top