Skip to main content
This example demonstrates how to create, transfer, and manage NFTs on Sui.

Basic NFT Implementation

From examples/move/nft/sources/testnet_nft.move:

Key Features

Object Structure

  • key: Makes it a Sui object
  • store: Allows storage in other objects and transfers

Minting with Events

Deploying and Using

Advanced: Collection with Display

Best Practices

1. Use accessor functions

2. Emit events

3. Implement Display standard

Make NFTs display correctly in wallets.

4. Consider mutability

Decide which fields should be mutable:

Next Steps