Open rever273 opened 2 years ago
For reference: https://hackernoon.com/how-to-calculate-the-rarity-of-an-nft
For reference: https://hackernoon.com/how-to-calculate-the-rarity-of-an-nft
I suggest to use more popular Rarity Score Model But this article makes a mistake with the example. The author simply summed up all the percentages without using the first formula.
Let's take a look for this Signum Logo NFT: https://www.signumart.io/ru/item/2617386761669914791
First formula for Rarity score for a Trait: Logo color has 8.15%. So this is number of NFTs with this trait/Total number of NFTs in collection
Rarity score for a Trait 1= 1/8.15% = 12.26 Rarity score for a Trait 2= 1/7.75% = 12.9 Rarity score for a Trait 3= 1/17.41% = 5.74 Rarity score for a Trait 4= 1/10.5% = 9.52
Second formula is summary of all this 4 scores:
So Total Rarity Score = 12.26+12.9+5.74+9.52= 40.42.
Knowing to score for all NFTs in collection we can count Rank for every NFT.
Here the total table for Signum Logo:
yes i think also that we go for this approach
We already discuss it with Oliver and it's not so difficult to add in database.
The main idea is big collection (>1000) have it's own rarity according to attributes. The rarer NFT often costs more money. Rarity is also needed so that the user can analyze the collection and find rarer attributes, whether it be "Crowns" on a character's head or something unique.
There are separate sites that analyze the NFT collection and show the rarity of each NFT, for example: https://howrare.is/degods/3251/
I propose to add some math to the calculations and improve our portal. Here is an example of what it should look like (maybe add other colorful colors or top 1-10 emoji).
Math is simple. You need to divide 1 by every attribute: 1/100%+1/27.27%+1/63.64%+1/57.58%+1/100%+1/36.36%+1/39.39%=14.3. So total score for that NFT is 14.3. Knowing the score for all NFT collections, you can simply calculate its place in the ranking.
We also can try to use rarity labels: 0,00 Common 80,00 Uncommon 150,00 Rare 180,00 Exceptional 220,00 Legendary 255,00 Mythic
According those labels our NFT with Score 14 is Common. So simple but how it be helpful for buyers of big collections. It will be possible to add sorting by Rank next step.