Niftory Docs
  • What is Niftory?
  • Get your API Keys
  • 👩‍💻API
    • Niftory Web3 API
    • SDK QuickStart
      • Using the SDK in React
      • Using the SDK from the Server
    • API Quickstart
      • Create your first Wallet
      • API calls with Sample Content
      • Mint your first NFT
    • API Cheat Sheet
    • Niftory Sample App
      • Explore the Sample App
      • Anatomy of a Niftory App
        • Getting Authenticated
        • GraphQL Client Setup
        • API Usage
        • Transfer an NFT
    • 💡Core Concepts
      • Niftory Data Model
      • Authentication
        • Using Your API Key
        • Configuring Your App
        • Privileged Authentication
      • App and AppUser
      • NFTs
        • Creating NFTs
        • Querying NFTs
        • Transferring NFTs
        • Minting NFTs
      • Wallets
        • Create a Niftory Wallet
        • Register External Wallets
        • Query Wallets
      • Contract
      • User Auth (Client-Side)
    • Your Niftory Account
  • 🧑‍💼Admin Portal
    • Niftory Admin Portal
    • 🚀Guides
      • Setting Up Your Org
      • Create Your First NFT
    • 🗺️Explore
      • Org and Apps
      • NFT Collection
        • Sets
        • Collectibles
        • NFTs
    • 💼Use Cases
      • For Engineers
      • For Designers
      • For Business Users
  • 📖Reference
    • GraphQL & Auth Endpoints
    • API Reference
    • SDK API Reference
Powered by GitBook
On this page
  • Niftory NFT Data Model
  • What gets put on the blockchain, and when?

Was this helpful?

  1. API
  2. Core Concepts

NFTs

PreviousApp and AppUserNextCreating NFTs

Last updated 1 year ago

Was this helpful?

Check out to see how these constructs are used in practice.

Niftory NFT Data Model

There are 3 key concepts that yield an in the Niftory ecosystem:

  • - A bag of NFTModels, to help you organize your NFTs

  • - A blueprint for an NFT, containing everything needed to mint one -- file content, blockchain metadata, etc.

  • - A representation of an (it doesn't have to be minted yet).

An NFTSet contains a number of NFTModels, which contain a number of NFTs

What gets put on the blockchain, and when?

NFT, NFTModel and NFTSet are all blockchain concepts. i.e. when you mint, the creates a for an NFTSet, a for an NFTModel, and a for an NFT on the blockchain.

Note that because Niftory supports minting lazily, you can create all these objects in the Admin Portal without minting them, display them to users, and delay the mint step until the actual (which will handle minting automatically).

This is possible because Niftory API combines both on-chain and off-chain data into one API. When you are querying the API, it is returning data from the Niftory database. The database is updated automatically to represent the source-of-truth on the blockchain.

👩‍💻
💡
NFT
NFTSet
NFTModel
NFT
NFT
Niftory contract
Set
CollectibleItem
NonFungibleToken
NFT Transfer
Anatomy of a Niftory App