Original Thread: Discord
Thread ID: ch_1a0be42c
Messages Count: 12
Copied on: 2025-07-29T22:38:50.452Z
Problem/Question
A developer was seeking guidance on the best approach for implementing on-chain metadata for a small object. They wanted to understand whether to use the object display standard or create a dedicated on-chain object that can be queried directly. The question centered around determining the more standard and appropriate approach for storing and displaying metadata on the Sui blockchain.
Discussion Points
- Comparison between object display standard versus on-chain stats objects for metadata storage
- Understanding the scope and applicability of the object display standard
- Clarification on whether the display standard is limited to specific object types (coins/NFTs) or can be used more broadly
- How arbitrary objects can be enhanced with visual representation through the display standard
- Practical examples of the object display standard implementation in production
Solutions/Approaches
The recommended approach is to use the object display standard rather than creating separate on-chain objects for metadata. The key reasons and benefits identified include:
Primary Purpose: The object display standard was designed to unify how objects are displayed across the Sui ecosystem. This standardization enables explorers and other tools to easily identify and display common metadata fields such as name, creator, image, and other relevant information for objects on Sui.
Universal Applicability: The display standard can be applied to any object type, not just coins or NFTs. This flexibility makes it suitable for arbitrary objects that need visual representation or standardized metadata display.
Visual Enhancement: When using the object display standard, arbitrary objects can be assigned images that will appear in blockchain explorers, providing a more user-friendly experience when viewing objects.
Real-world Example: A practical implementation was demonstrated with Walrus blob objects, where all blobs share the same image through the display standard while also including additional metadata about each specific blob. The example can be viewed at: Sui Explorer - Suiscan
Final Recommendation: Use the object display standard as it provides ecosystem-wide compatibility, standardized metadata handling, and enhanced user experience through visual representation in explorers and wallets.