Hypercert Metadata Structure
Hypercerts are represented as ERC-1155 tokens. All token instances of a hypercert must share the same ERC-1155 metadata. For sites like OpenSea to pull in off-chain metadata for ERC-1155 assets, your hypercert contract will need to return an IPFS URI that contains all necessary hypercert metadata.
The hypercert metadata schema follows the Enjin recommendation for ERC-1155 metadata. It also includes six required dimensions that are necessary to clearly and unambiguously identify the hypercert's impact claim.
The following are standard ERC-1155 metadata fields.
ERC-1155 fields
Property | Description |
---|---|
name | Name or title of the hypercert. Given that a project may create numerous hypercerts over time, consider giving the hypercert a name that represents a discrete phase or output. |
description | A human readable description of the hypercert. Markdown is supported. Additional external URLs can be added. |
image | A URI pointing to a resource with mime type image/* that represents the hypercert's artwork, i.e., ipfs://<CID> . We recommend images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive. |
external_url | [optional] A URL that can be displayed next to the hypercert on webpages like OpenSea and links users to a page that has more information about the project or impact claim. |
properties | [optional] Additional properties (aka attributes) that may be helpful for discovery and curation of hypercerts. Marketplaces like OpenSea will display these properties in the same way as they display rarity traits of NFTs. |
In order to perform hypercert-specific operations, including split and merge functions, and for your hypercert to robustly claim a set of coordinates in the impact space, there are six additional dimensions that must be included in your metadata.