This issue is to collect feedback on attributes, traits, and galleries. There are many possible expansions and improvements to attributes, but I'd like implementation to be driven by actual user need and not speculation.
If you're making inscriptions or galleries which use attributes and traits, please comment with your feedback, requests, and bug reports!
Inscriptions and gallery items can now have attributes, which are structured metadata.
Attributes contain an optional title, as well as traits, a map of trait names to trait values. Trait names are strings, while trait values are booleans, integers, null, or strings.
Ideas for new attributes:
- Description text: Generally useful, and can be used with gallery inscriptions to provide a description of the gallery.
- URL links: Generally useful, and can be used with gallery inscriptions to provide relevant links for the collection. I'm hesitant to add URLs, since they are immutable and cannot be updated if the link goes stale.
- Inscription links: Links which go to another inscription on the same explorer.
- Rune links: Links which go to a rune on the same explorer.
Ideas for new trait values:
- Proportion from 0 to 100: Rendered as a progress bar. Pretty common NFT metadata type.
- Byte string: Rendered as hex.
- Floating or fixed point numbers
- Dates and times
- URLs
Additionally, large galleries with many traits may be very large, and contain many repeated trait names and values. We could add deduplication of trait names and values, which would shrink the size of such galleries enormously.
This issue is to collect feedback on attributes, traits, and galleries. There are many possible expansions and improvements to attributes, but I'd like implementation to be driven by actual user need and not speculation.
If you're making inscriptions or galleries which use attributes and traits, please comment with your feedback, requests, and bug reports!
Inscriptions and gallery items can now have attributes, which are structured metadata.
Attributes contain an optional title, as well as traits, a map of trait names to trait values. Trait names are strings, while trait values are booleans, integers,
null, or strings.Ideas for new attributes:
Ideas for new trait values:
Additionally, large galleries with many traits may be very large, and contain many repeated trait names and values. We could add deduplication of trait names and values, which would shrink the size of such galleries enormously.