Rank
Collection rank algorithm.
Rank Eligibility
What collections can be ranked?
The collection must have at least one trait.
Every Inscription in the collection must have the same number of traits.
Rank Algorithm
Gather all traits and count the occurrence of each trait by looping over all inscriptions in the given collection. Divide the count of each trait by the total supply of the collection to determined what percent of items have that trait.
Give every inscription a score by looping over the inscriptions and taking the product of the inscription's trait counts.
Sort the inscriptions by score. If multiple inscription have the same score, the lower inscription number comes first.
Example
Below is a breakdown for ranking Planetary Ordinal rank #2 and rank #3.
Rank #2 detail
Background = Grey stays (3 of 69)
Holes = earthy vibes (1 of 69)
Score = 3 = 3x1
Inscription number = 1030
Rank #3 detail
Background = Cherry blossoms (1 of 69)
Holes = sunset ice (3 of 69)
Score = 3 = 1x3
Inscription number = 1031
Get your collection ranked on Ordinals Wallet
Submit your collection attribute data on our Github.
Last updated