Skip to content

Display information related to HCS-1 content in TopicDetails view #1534

Closed
@svienot

Description

In order to fully test the support for ERC tokens, we need to be able to deploy our own test contracts, including contract which implement ERC 721 tokens providing their own metadata. The most convenient and relevant way to store such metadata is to put in on chain — i.e. stored in topic messages using the HCS-1 specification.

Hence, to enable and facilitate ERC token metadata testing, we need to support the display of HCS-1 content in topics, such that we can visualise in clear both the token metadata itself, and any asset (e.g. image or video) referenced in the metadata.

This will consist of:

  • add an HCS-1 label at the top of the TopicDetails view (to flag the topic as such)
  • add an HCS-1 Content section displaying the properties specific to that type of content:
    • Hash
    • Compression
    • Encoding
    • MIME Type
    • Preview

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions