This project will allow you to calculate rarities from any NFT Collection on the Ethereum or Polygon networks.
🧑🏾🤝🧑🏽 Join my Discord community: https://discord.gg/A9CnsVzzkZ
- Clone or download the .zip and unzip
- Rename
.env.example
to.env
and enter your NFTPort API key. - Edit the
CONTRACT_ADDRESS
andCHAIN
inrarity.js
- Run
node utils/rarity
to download the collection info - Run
node utils/rarity_rank
to get rarity info for the top ## or specific token Id