Build an nft pc

Description

Create post-conditions for NFT transfers to ensure specific tokens are or aren't transferred

Use Cases

  • Protecting valuable NFTs from accidental transfers

  • Ensuring specific NFTs are transferred in marketplace transactions

  • Safeguarding NFT collections during contract interactions

Key Concepts

  • Asset identifier - Contract address + asset name with :: separator

  • Token ID - The specific NFT ID as a Clarity value (using Cl.uint())

  • NFT post-conditions use the .nft() method

Was this helpful?