A simple web app to calculate the rarity using OpenRarity Standard. The app uses Alchemy APIs to fetch the NFT Metadata and calculate the rarity of the NFT.
To get started with the app, follow these simple steps:
-
Clone the Repository: Begin by cloning the repository to your local machine using the following command:
git clone https://github.com/Lumos-metaverse/NFT-Rarity.git
-
Install Dependencies: Navigate to the cloned repository and install the required dependencies by running the following command:
pnpm install
-
Add Environment Variables: Create a
.env
file in the root directory of the project and add the following environment variables:NEXT_PUBLIC_ALCHEMY_KEY='alchemy_api_key'
You can get the Alchemy API Key by creating an account on Alchemy. Once you have created an account, you can get the API Key from the dashboard.
-
Run the Project: Once you have installed the dependencies and added the required environment variables, you are ready to run the project. To start the development server, run the following command:
pnpm run dev