Post
Share your knowledge.
HaGiang266
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
1harry phan595
Apr 30 2025, 03:28my 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
Bounty Posts
- Why does BCS require exact field order for deserialization when Move structs have named fields?53
- Multiple Source Verification Errors" in Sui Move Module Publications - Automated Error Resolution42
- Sui Transaction Failing: Objects Reserved for Another Transaction24
- How do ability constraints interact with dynamic fields in heterogeneous collections?04