Comment on page
collection
Collection
provides the ability to digitize assets. Through this module, each off-chain asset will be modeled as a unique on-chain nft.Name | Description |
---|---|
issue | Specify the nft Denom (nft classification) and metadata JSON Schema to issue nft. |
transfer-denom | The owner of the NFT classification can transfer the ownership of the NFT classification to others. |
mint | Additional issuance (create) of specific nft of this type can be made. |
edit | The metadata of the specified nft can be updated. |
transfer | Transfer designated nft. |
burn | Destroy the created nft. |
Specify the nft Denom (nft classification) and metadata JSON Schema to issue nft.
uptickd tx collection issue [denom-id] [flags]
Flags:
Name, shorthand | Required | Default | Description |
---|---|---|---|
--name | | | The name of the denom |
--uri | | | The uri of the denom |
--data | | | Off-chain metadata for supplementation (JSON object) |
--schema | | | Denom data structure definition |
--symbol | | | The symbol of the denom |
--mint-restricted | | | This field indicates whether there are restrictions on the issuance of NFTs under this classification, true means that only Denom owners can issue NFTs under this classification, false means anyone can |
--update-restricted | | | This field indicates whether there are restrictions on updating NFTs under this classification, true means that no one under this classification can update the NFT, false means that only the owner of this NFT can update |
The owner of the NFT classification can transfer the ownership of the NFT classification to others.
uptickd tx collection transfer-denom [recipient] [denom-id] [flags]
Additional issuance (create) of specific nft of this type can be made.
uptickd tx collection mint [denom-id] [nft-id] [flags]
Flags:
Name, shorthand | Required | Default | Description |
---|---|---|---|
--uri | | | URI of off-chain token data |
--recipient | | | Receiver of the nft |
--name | | | The name of nft |
The metadata of the specified nft can be updated.
uptickd tx collection edit [denom-id] [nft-id] [flags]
Flags:
Name, shorthand | Required | Default | Description |
---|---|---|---|
--uri | | | URI of off-chain token data |
--name | | | The name of nft |
Transfer designated nft.
uptickd tx collection transfer [recipient] [denom-id] [nft-id] [flags]
Flags:
Name, shorthand | Required | Default | Description |
---|---|---|---|
--uri | | | URI of off-chain token data |
Destroy the created nft.
uptickd tx collection burn [denom-id] [nft-id] [flags]
Query nft
uptickd query collection supply [denom-id] [flags]
uptickd query collection owner [address] [flags]
uptickd query collection collection [denom-id] [flags]
uptickd query collection denom [denom-id] [flags]
uptickd query collection denoms
uptickd query collection token [denom-id] [nft-id] [flags]
Last modified 5mo ago