Implement your own rarity tools using this template.
References:
- https://raritytools.medium.com/ranking-rarity-understanding-rarity-calculation-methods-86ceaeb9b98c
- https://github.com/punkscape/01-rarity-analyser-hackathon
Who is this project for and what are their needs?
Creator: Person who is making the NFT collection
- Save fees
- Sell collection
- Build community
- Generate hype
- Easily deploy
Buyer: People who have bought the nft
- Trade nft
- Buy low
- Sell high
- Collect drops
Developers: People who maintain this project
- Clear documentation
- Easily iterate
- List NFTs from JSON (
data/collection.json
). - Filter NFTs based on traits, attributes.
- Share NFT for
token_id
: Display rarity score, rarity rank and price (useful for buyers) - If you deploy using Vercel, changes are deployed automatically.
PS: All webpages are responsive
Once you have deployed, you need to change the following for your use:
Using locally:
yarn install
-
Change the JSON in
data/collection.json
to your collection.json. If there is an error, raise it as an issue. JSON follows opensea standards -
Change
config/index.js
:env
: If you're using locally set it tolocal
, while deploying set it toprod
.LOCAL_API_URL
: Port at which app is running locally. Default value ofhttp://localhost:3000
API_URL
: Your vercel URL (when you deploy)COLLECTION_NAME
: Opensea collection name "OneDayPunks" is an exampleCOLLECTION_TITLE
: This is for the website title (for SEO)COLLECTION_DESCRIPTION
: og:description (for SEO)COLLECTION_IMG_LINK
: og:image for website (for SEO)