Clarity theorytheory 0/50 · 0%
Tokens · medium

31. Non-Fungible Tokens (NFTs)

Unique digital assets.

NFTs are defined using `define-non-fungible-token`. Each token is identified by a unique ID (e.g., a uint or buffer).

clarity
(define-non-fungible-token my-nft uint)
(nft-mint? my-nft u1 tx-sender)

Check your understanding

  1. 1. What must each NFT have?