The token-nft-issue-new
command in Mintlayer is used to issue a new non-fungible token (NFT) from scratch. This command allows for the creation of a unique NFT with specified attributes and metadata.
Note: To Issue a Non Fungible Token on the Mintlayer Blockchain, 5 ML tokens are required to be burned. This amount will be automatically subtracted from your balance by the wallet.
token-nft-issue-new <DESTINATION_ADDRESS> <MEDIA_HASH> <NAME> <DESCRIPTION> <TICKER> [CREATOR] [ICON_URI] [MEDIA_URI] [ADDITIONAL_METADATA_URI]
<DESTINATION_ADDRESS>
: The address that will receive the issued NFT.<MEDIA_HASH>
: The hash of the media file whose ownership is represented by the NFT.<NAME>
: The name of the NFT.<DESCRIPTION>
: A description of the NFT.<TICKER>
: The ticker symbol for the NFT.[CREATOR]
: Optional. The creator's public key, hex-encoded.[ICON_URI]
: Optional. A URI linking to the icon of the NFT.[MEDIA_URI]
: Optional. A URI linking to the media associated with the NFT.[ADDITIONAL_METADATA_URI]
: Optional. A URI linking to additional metadata for the NFT.-h, --help
: Displays help information about the token-nft-issue-new
command.Issuing a New NFT:
token-nft-issue-new tmt1qx8lr7fp7mehn6vgt5vuqytpy5c97fds6u89xhe5 dde4ff0154816028626de73ca8b94c995154a81d MintlayerLogo Mintlayer MLLOGO 000312a37b77deafaac36e0fa185ffb074669d8700051f6c4b60581b9dec932f3947 "https://www.mintlayer.org/images/logo_hu91f04efa21a6f4ab5814330d21c75968_4960_57x57_resize_box_2.png" "https://www.mintlayer.org/assets/images/logo/mintlayer-primary.svg"
This command issues a new NFT named 'MintlayerLogo' with the ticker 'MLLOGO'. The NFT is associated with media content (URI and hash provided), and an icon URI is specified. The NFT is sent to the address tmt1qx8lr7fp7mehn6vgt5vuqytpy5c97fds6u89xhe5
.
Upon successful issuance, the wallet will display:
A new NFT has been issued with ID: tmltk1464fvpqw0wssyp0e5cqawfa4hzclrr84d74gydfmmsqh6g6jtlssre55dv