Skip to content

Latest commit

 

History

History
132 lines (81 loc) · 4.67 KB

README.md

File metadata and controls

132 lines (81 loc) · 4.67 KB

Rarity Score Template

Implement your own rarity tools using this template.

Deploy with Vercel

References:

Needs

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

Features

  • 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

How to use

Once you have deployed, you need to change the following for your use:

Using locally:

  1. Install packages
yarn install
  1. 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

  2. Change config/index.js:

  • env : If you're using locally set it to local, while deploying set it to prod.
  • LOCAL_API_URL: Port at which app is running locally. Default value of http://localhost:3000
  • API_URL: Your vercel URL (when you deploy)
  • COLLECTION_NAME: Opensea collection name "OneDayPunks" is an example
  • COLLECTION_TITLE: This is for the website title (for SEO)
  • COLLECTION_DESCRIPTION: og:description (for SEO)
  • COLLECTION_IMG_LINK: og:image for website (for SEO)

Reference for SEO

  1. Running it locally
yarn run dev

Stack

Fetching updates

From time to time, I push updates if you want to update your repo with those changes:

git remote add upstream https://github.com/nishantrpai/rarity-score.git
git fetch upstream
git merge upstream/main

That'll bring you all the latest changes from the repo.

😫 Having issues?

Reach out to me on Twitter or Discord, will deploy it for you.

PS: This is a paid service.

🧾 Have I done it before?

Yes, deployed it for:

Every Islander is special, but some are more special than others ...

Our custom-built open-source rarity tool is now live. Enjoy!

Hat-tip to buildooor 🛠️ @PaiNishant for his code and his guidance and for being a legend 👊https://t.co/7WytxK1jPH

— Larp Island 🏝 (@larpisland) March 18, 2022

Each Coffee Club Cup is unique, just like YOU.. ☕️

A huge s/o to the one and only @PaiNishant for assisting me with our brand new, open-source rarity ranking tool.

You can check your Cups ranking here:https://t.co/l6gN1tbeoY https://t.co/VEA7X4nwoO pic.twitter.com/t1yLPtu63c

— Coffee Club NFTs (@CoffeeClubNFTs) March 22, 2022

▶️ How does it work?

  1. Exchange greetings, finish payments.

  2. I'll request you for project related details, github creds.

  3. Fix the json (if any errors), ensure everything is working and update you along

  4. Tell me any issues you have, can add custom fixes.

  5. You get the rarity score for your project, you are extremely happy and leave a tweet that tells everyone how great this service was 🍻

Socials

Follow _rarityscore on twitter for updates.

Donate

  • Solana: 9dPN7gdN9cyGhjiQn5gBU9DQDBxUJafvS873BcW3mpFT

  • Ethereum: 0x5A8064F8249D079f02bfb688f4AA86B6b2C65359

  • ENS for donating: nishantpai.eth