✨
Playground
  • OVERVIEW
    • What is Playground?
    • Core Features
    • API Authentication
  • Guides
    • Trait Templates
      • Create a New Trait Template
        • Adding Media to Trait Templates
        • Setting Render Order for Traits
      • Get Started With a Pre-Made Trait Template
        • Access Passes
        • Achievement Badges
    • Minting New Traits
      • Trait Minting Flows
      • Gas Fee Options for Trait Minting
    • Migrating Metadata for Existing NFT Collections
      • Updating the BaseURI
  • Concepts
    • What are Traits?
      • Ownership and Transfers of Traits
      • Verified Traits
      • Artist Royalties
    • Media
    • Rendering
    • Access Controls
Powered by GitBook
On this page
  1. Concepts

What are Traits?

The Atomic Layer of NFTs

Traits are the building blocks of NFTs. Instead of considering NFTs as single, indivisible entities, traits represent the individual data objects that compose each NFT. This approach allows for a dynamic and modular system, offering unparalleled flexibility for creators and collectors.

What are Traits?

A trait is a tokenized data object that can move freely between NFTs, forming a composite of all the traits associated with it. This means that as new traits are added or removed, the 'whole NFT' is updated accordingly. Traits can represent various data objects, such as clothing, rewards, badges, identifiers, backgrounds, or accessories, creating unique and dynamic NFTs.

Benefits of Trait-based Architecture

A Trait-based architecture offers benefits beyond flexibility. It also enables greater transparency and accountability in the NFT world. By creating an unalterable record of every change to an NFT's metadata, the provenance and value of assets can be better determined. Moreover, the use of traits allows for granular addition or removal of traits to NFTs without relying on centralized servers or updating the base URI.

Code Snippet

Here's an example of a unique Background trait in JSON code:

{
  "value": "Background 01",
  "trait_type": "Background",
  "render_order": "1",
  "image_url": "https://arweave.net/4bvRkfaClkLosqJsXylLeE1n2oabIg5k2gKVc6xLInQ"
}

Traits represent a fundamental shift in how we perceive NFTs. By treating NFTs as composites of individual, tokenized data objects, we can create a more dynamic, customizable, and transparent ecosystem for both creators and collectors.

PreviousUpdating the BaseURINextOwnership and Transfers of Traits

Last updated 2 years ago