How do I create and mint an NFT?
To create your NFT collection, call thenft.createCollection()
extrinsic with the following parameters:
nft.mint()
method on the collection to start minting additional tokens so long as the max issuance has not been reached:
How do I create and mint an SFT?
SFTs are similar to NFTs however due to their similarity to ERC1155, there can be multiple tokens per SFT collection. Each SFT token has a unique ID, and the collection owner can mint multiple tokens with the same ID. To create your SFT collection, call thesft.createCollection()
extrinsic with the following parameters:
sft.createToken()
extrinsic with the following parameters:
sft.mint()
method to start minting additional tokens so long as the max issuance for that token has not been reached. The owner can pass in a tuple of serialNumbers and quantities to mint multiple tokens at once.