Skip to main content

Introduction

In this tutorial, you will create your own NFT on inery blockchain network.

Pre-requirements

You will need Inery Node to execute transactions and Inery account to become token contract account

  • Inery Node
  • Inery Account

Token Contract

NFT contract has 6 main actions NFT contract actions :

create

Create a new NFT with asset symbol. This action will not result any tokens being issued into circulation. required parameters :

  • issuer
  • symbol

issue

Issue NFT into circulation and transfer NFT to issuer. Uris is a vector consisting of exactly quantity references, one for each token being issued.

required parameters :

  • to
  • quantity
  • uri
  • name
  • memo

transfer

Transfer action transfers NFT from account A to account B.

required parameters :

  • from
  • to
  • quantity
  • memo

transferid

TransferID action transfers NFT with paticular id from account A to account B.

required parameters :

  • from
  • to
  • id
  • memo

burn

The burn action burns a NFT with given id removing it from blockchain.

required parameters :

  • owner
  • id

setrampayer

Setrampayer sets owner of the token as a ram payer for stored data.

required parameters :

  • payer
  • id