NFTs, Generative NFTs, Programming, Math

How to Calculate the Number of Possible Unique NFTs in a Generative NFT Set

Hint: It’s pretty simple math, but let’s take a look.

Photo by Raghav Modi on Unsplash

I get this question all the time: “I’m doing a generative set with 250 traits. How many possible combinations are there?” Thankfully, the answer is pretty straightforward, although we need a little more information than that question indicates.

Basically, we just need to know the number of PROPERTIES (aka ASSET CLASSES), and the number of individual TRAITS within each one. For example, let’s imagine a set of cats with the following stats:

  • PROPERTY 1: BACKGROUNDS; # of background TRAITS: 25
  • PROPERTY 2: BASE BODY; # of base body TRAITS: 30
  • PROPERTY 3: SHIRTS; # of shirt TRAITS: 40
  • PROPERTY 4: HAIR STYLE; # of hair style TRAITS: 30
  • PROPERTY 5: HATS; # of hat TRAITS: 30
  • PROPERTY 6: EYES; # of eye TRAITS: 25
  • PROPERTY 7: WHISKERS; # of whisker TRAITS: 20
  • PROPERTY 8: NECKLACE; # of necklace TRAITS: 20
  • PROPERTY 9: CAT TOYS; # of cat toy TRAITS: 30

--

--