Create a new NFT-Mint
The create-token instruction creates a unique Nft casting address which is called the mint account - 2ZYMxZojdocSbwcGg4W92H3hVE9qgMBo7XQg9aug6uKs.
A unique NFT can then be cast based on this address. Unlike the hpl-token, this instruction must specify the supply quantity when the foundry is created .
In the following example, a mint with a total supply of 100 is created, and its name, symbol and icon are set.
After that we can query the mint account through the mint-info instruction.
This instruction allows you to view the casting information (current casting, total supply) for the Nft mint account, as well as some of the mint account's own properties.
The Mint authority specifies the administrative account of the mint account (BRxWruwQv3berDJELRM73dtp7f4712aiodZ6KCY4RLkq).
Only with the private key of the administrative account can you perform a series of operations on the mint account, such as mint.
Last updated