ManticoreGamesInc / CC-NFT-Display-Attributes

The NFT Display Attributes component will display the attributes of an NFT in the UI. Attributes are a great way to create content in Core. You can read the attributes of an NFT and do something based on the attributes.

Home Page:https://learn.coregames.com/nft-display-attributes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NFT Display Attributes

Build Status GitHub release (latest by date)

Preview

Finding the Component

This component can be found under the CoreAcademy account on Community Content.

Overview

The NFT Display Attributes component will display the attributes of an NFT in the UI. Attributes are a great way to create content in Core. You can read the attributes of an NFT and do something based on the attributes. For example, creating an Axe where the handle, blade, and color are stored on the Blockchain as attributes.

The example for this component will load a random NFT from the MekaVerse collection, display the NFT image, and list all the attributes. What you do with those attributes is down to your imagination. Think of them as the DNA that describes how an object is made.

https://opensea.io/collection/mekaverse

How to use

The root of the template contains 2 custom properties.

  • ContractAddress

    The contract address to look at when retrieving tokens.

  • TokenID

    The token ID to load.

  • TotalTokens

    The number of tokens in the collection. This is only needed if Random is enabled.

  • Random

    If enabled a random token from the collection will be retrieved and displayed.

Learn More

https://learn.coregames.com/courses/nft-generative-content/

About

The NFT Display Attributes component will display the attributes of an NFT in the UI. Attributes are a great way to create content in Core. You can read the attributes of an NFT and do something based on the attributes.

https://learn.coregames.com/nft-display-attributes/

License:Apache License 2.0


Languages

Language:Protocol Buffer Text Format 78.8%Language:Lua 21.2%