Cointime

Download App
iOS & Android

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


Iget 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

Okay, as you can see, there are 250 traits spread out over 9 properties.

The formula here is actually pretty simple. You basically just (1) take the number of items in each property and (2) multiply them all together. In other words:

According to Google, that works out to 8.1e+12, or 8.1 x 10¹², which is 8,100,000,000,000 (or, in word form: eight trillion one hundred billion).

So, that’s clearly indicative of a set with a crazy amount of possible variety, which is a good thing.

Just keep in mind when designing generative sets that the number of properties really matters. For example, what if there were just TWO properties — backgrounds and cat bodies, each with 125 possibilities? In that case, the math would be just 125 X 125, or just 15,625 possibilities. What if there were THREE with, say, 83, 83, and 84? That’s 83 X 83 X 84, or 578,676 possible combinations.

So, it’s not just the # of traits, but the # of traits AND the number of properties. What I’ve shown above, with 9 individual properties, is fairly typical of what I see in working on sets (full-time for about a year and a half now). So if you’re just beginning to plan out your generative set artwork, the above setup would be a great starting point. :-)

Comments

All Comments

Recommended for you

  • SlowMist: Beware of watering hole attacks launched by malicious attackers using WordPress plugin vulnerabilities

    SlowMist Security has issued a warning that attackers have recently been exploiting vulnerabilities in WordPress plugins to inject malicious JS code into normal websites and launch watering hole attacks. These attacks involve popping up malicious windows when users visit the site, deceiving them into executing malicious code or performing Web3 wallet signatures, thereby stealing their assets. It is recommended that sites using WordPress plugins check for vulnerabilities, update plugins in a timely manner, and avoid being attacked. When visiting any website, users should carefully identify the downloaded programs and Web3 signature content to avoid downloading malicious programs or having their assets stolen due to malicious signatures.

  • Unverified Ember Sword NFT auction contract vulnerability has caused nearly $200,000 in losses

    Certik has discovered a vulnerability in the unverified Ember Sword NFT auction contract, which has earned 60 WETH (approximately $195,000) from 159 victims who approved the contract. Certik reminds users to revoke their approval of the relevant contract on Polygon.

  • zkSync ecological lending platform xBank Finance suspected of RUG

    xBank Finance, a zkSync ecosystem lending platform, was suspected of being a RUG, and the protocol's TVL was close to zero. The project's official Twitter account has been frozen.

  • Scammers use fake USDT balances to defraud cryptocurrency users

    SlowMist has partnered with Imtoken to uncover a new cryptocurrency scam that uses offline transactions and USDT. Scammers manipulate the Ethereum RPC to falsify the USDT balance in the victim's wallet. The scammer lures the victim to change their Ethereum RPC URL to a URL controlled by them, making it appear that the victim has deposited USDT funds, but in reality, the victim is left empty-handed when attempting to trade. In addition, the scam also deceives users through small transfers to gain trust, then manipulates account balances and contract information, posing serious risks to unsuspecting users and is related to a wider range of pig slaughter scam activities.

  • Cointime April 27th News Express

    1. ETH falls below $3,100

  • HKEX: Accepts BOS HashKey, Huaxia, Harvest Bitcoin and Ethereum ETFs as eligible securities for multiple counters in the central clearing system

    On April 27th, the Hong Kong Stock Exchange issued three notices, announcing the inclusion of Bo Shi HashKey Bitcoin ETF shares and Bo Shi HashKey Ethereum ETF shares, Huaxia Bitcoin ETF shares and Huaxia Ethereum ETF shares, and Jia Shi Bitcoin Spot ETF shares and Jia Shi Ethereum Spot ETF shares as Central Clearing System multi-counterparty eligible securities. It is reported that:

  • Russia’s Central Bank and Rosfinmonitoring unveil pilot of fiat-to-crypto tracking system

    According to reports, since 2023, Russia has been trying to track cryptocurrency transactions and their sources. The Russian Central Bank and the Federal Financial Monitoring Service (Rosfinmonitoring) revealed that there is currently a system that allows private banks to track the connection between fiat-based transactions and cryptocurrency business.

  • PolkaWorld: Coretime trading on Kusama has started

    On April 27th, PolkaWorld announced that Coretime trading on Kusama has begun, marking the end of the era of parallel chains. With the approval and implementation of Kusama proposal 373, the proposal will upgrade the Kusama relay chain runtime to v1.2.0 and bring Coretime functionality. Shortly thereafter, the Kusama community approved Kusmaa proposal 375 last Friday, allowing Coretime chain to begin selling Coretime. Currently, Kusama is in the Renew Period and is selling batches of Coretime.

  • Over $155 million worth of MEME will be unlocked on May 3, accounting for 31.96% of the circulating supply

    According to Token Unlocks data, 5.31 billion MEME tokens, worth over $155 million, will be unlocked on May 3, 2024, accounting for 31.96% of the circulating supply. These tokens will be unlocked and distributed to airdrops, advisors, and investors.

  • The total open interest of BTC options is $17.83 billion, and the open interest of ETH options is $8.07 billion.

    Coinglass data shows that the nominal value of unclosed BTC option positions on the entire network is 17.83 billion US dollars, which is the lowest point since February 26; the nominal value of unclosed ETH option positions is 8.07 billion US dollars, which is the lowest point since February 25.