Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print the rarity score for each NFT item #1148

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

it-is-zods
Copy link

just a small tweak to see a ranking of NFT by rarity score

just a small tweak to see a ranking of NFT by rarity score
@lotalota17
Copy link

hey this is awesome! I'm wondering if there is a way to have it rank my complete collection vs. the first 100?

When I run the script it creates a rank of the top 100 in the terminal, however my collection is over 1500 in all - would be amazing to have it print the full rankings, or save a .csv or .json with that info in there. I'm fairly new to working with code and am still learning - any advice on how to make adjustments to accommodate a larger list or better yet create a .csv are appreciated!! Thanks for your time

@it-is-zods it-is-zods changed the title print a NFT rarity score print the rarity score for each NFT item May 15, 2022
circumvent limitation on console.log for big collection but pasting one line at a time but also creating a log file with each item's ranking for easier later consumption
@it-is-zods
Copy link
Author

that is to do with a mem limitation in console.log
I've added a quick fix so all lines will output now, but it will also create a NftItemsRarityScore.log so you can go through it in an editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants