Tokens, collections & metadata
Discover further information about Collections and tokens on the Enjin Blockchain.
A token in the blockchain realm is commonly known as a coin, yet on the Enjin blockchain, a token serves as an asset that enables developers and users to produce both Fungible (FTs) and Non-Fungible Tokens (NFTs). Similar to the Legacy Platform, one can design tokens utilizing the ERC-1155 standard. However, it is crucial to note that every token must be affiliated with a collection.
Fungible Tokens also referred to as interchangeable tokens, possess a numerical value and the capability to hold decimal places. A conventional example of fungible tokens is currency notes, where every note holds the same value as others.

In contrast, Non-Fungible Tokens (NFTs) are distinct and cannot be substituted with other tokens as each NFT has its own unique identity. Examples of NFTs include original artwork, gaming characters, pets, and numbered collectibles.

NFTs can be categorized into families, referred to as Grouped NFTs. These NFTs have a shared Base ID but still retain their uniqueness. An illustration of this concept would be an Iron Sword armory consisting of swords of different quality levels, brands, and individual histories, but all identifiable as Iron Swords. The significance of a particular sword to one individual may be based on its past ownership by a great warrior, while another person may consider the token's type to be more important depending on its usefulness.
A Collection in the blockchain realm refers to a project on the Enjin blockchain that permits developers and users to design both Fungible Tokens (FTs) and Non-Fungible Tokens (NFTs) under a specific collection.
Through a collection on Enjin, the owner can set up and customize both fungible and non-fungible tokens without limitations on the amount.
Additionally, one can establish specific properties that are applicable to all tokens generated within the collection, such as forcing all tokens into the single-mint mode and configuring royalties for the entire collection for future marketplace interactions.

In programming, Metadata pertains to the data contained within data containers, providing information on a resource's description, structural information about an object, or references such as the contents of any piece of information.
Regarding FT and NFT, metadata refers to the data that provides context to what an FT or NFT is. In the Enjin Platform, each NFT has a "metadata" parameter that holds information on the specific NFT, such as its name, image, description, and other relevant details.
Developers using the Enjin Platform can store images, gifs, 3D models, and videos to enhance the NFTs created and improve user experience. This data can be stored both on-chain and off-chain to allow users and other supported platforms to access the information.
When storing data on-chain, metadata can be defined as attributes such as name, description, fallback image, and any other attribute created by the developer. However, if the data is stored off-chain, it should always reference a centralized public repository through a .json file.

Last modified 24d ago