Niftory Docs
Niftory Web3 API
Search…
⌃K
Links

Niftory Sample App

We have built a sample to showcase a basic working application that uses the Niftory API.

Try it out

You can play with a deployed instance of the sample app here:
You should be able to:
  • Log in using Niftory's OAuth service.
  • View the available NFT drops.
  • Set up a Wallet.
  • Mint and transfer an NFT to your wallet, and view your collection.

Clone the Sample App

First, get your API keys from Niftory in order to start tinkering with the Sample App, and eventually getting your own app set up.
Clone the Niftory Sample App to start exploring the Niftory platform.

Configure your .env

  1. 1.
    Copy the .env.example file in the repo to a .env file.
  2. 2.
    Update these environment variables to point to the API keys you got from API Quickstart.
.env
Description
NEXT_PUBLIC_API_KEY
API key for your app
NEXT_PUBLIC_CLIENT_ID
Client ID of your app
CLIENT_SECRET
Client secret of your app
Make sure to keep your .env in .gitignore. The CLIENT_SECRET should never be shared with anyone (it's like a password for your app). Learn more.

Set up your local environment

The Niftory Sample app is built on NextJS. You'll need a few things to get started, but if you've built a NextJS or React app before, it'll all be very familiar.
Follow the readme to finish setting up your local environment.