Mint an NFT
Minting an NFT, or non-fungible token, is the process of creating a unique digital asset on the chain, representing ownership or proof of authenticity for a piece of digital or physical content. This content can range from digital art and music to virtual real estate and collectibles. As a result, the NFT becomes a verifiable, tradeable, and indivisible digital certificate of ownership, allowing artists, creators, and collectors to buy, sell, and trade these tokens securely and transparently.
Example Transaction
Transaction A displays the minting of an NFT on protocol level. For the sake of simplicity, it only defines an immutable issuer and metadata upon minting, but it would be possible to add any unlock conditions or mutable feature as well.
Minting must respect the following constraints:
- The NFT ID must be zeroed out. The protocol will replace it with the blake2b-256 hash of the Output ID upon booking.
- The Issuer address must be unlocked on the input side.
- The Immutable Metadata length must not exceed Maximum Metadata Length defined in TIP-22 (IOTA) or TIP-32 (Shimmer).
It is recommended to use one of the IRC standards to define NFT metadata. See IRC-27 for instance on how to define basic metadata linked to the NFT.
Related Tutorials
- iota.js
Related How-to Guides
- wallet.rs
- iota.rs
- iota.js