Sui.

Post

Share your knowledge.

HaGiang.
Apr 30, 2025
Expert Q&A

Why doesn’t the Sui explorer recognize my custom object as an NFT?

Hi everyone! I’m currently building a game on Sui where each playable character is represented as an object. I assume this should be modeled as an NFT, so I created a struct like this:

public struct Character has key, store {
    id: UID,
    owner: address,
    name: string::String,
    level: u64,
    experience: u64,
    health: u64,
    weapon: Option<Weapon>,
    armor: Option<Armor>,
    image_url: Url,
}

s there a standard or trait I need to implement for the Sui Explorer (or other NFT-compatible UIs) to recognize my object as an NFT? and Do I need to use or extend from the sui::nft module or implement certain fields (like name, description, url) in a specific way?

  • Sui
3
1
Share
Comments
.

Answers

1
harry phan.
Apr 30 2025, 03:28

my simple answer is you'll have to use this https://docs.sui.io/standards/display 🔥

2
Best Answer
Comments
.

Do you know the answer?

Please log in and share it.

Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.

364Posts503Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Reward CampaignJuly