Skip to content

CIP-0010: schema & process updates #1034

Description

@Godspeed-exe

In my spare time I'm working on a tool that should make it easy for non-native-Cardano entities to (i) create assets, (ii) submit metadata (both transaction and inline datums) without having to build a transaction processing engine, learn how UTXO's work, how to balance a transaction, etc. Just one-click-deploy and push data to the API.

For sanitation purposes I wanted to integrate it with CIP10, to:

  • check if a metadata label was registered: reason was to force them to at least register a new label instead of just pushing records without documenting it
  • verify per record that it's format was valid according to the documented standard.

In theory it's pretty easy, but in practice we would want a specific metadata label to point to some sort of json schema or cddl file.

A CIP10 entry today does not enforce / require linking to something like this, and I want to suggest to correct this.
Today, there is no way for a new person to know that metadata label for 721 schema is available / documented in CIP25.
Please correct me if I'm wrong.

So my proposal would be to:

  • backfill the old CIP10 records based on the records that exist on-chain today
  • make the below schema adjustment and require a schema to exist before merging

{ "transaction_metadatum_label": 721, "description": "CIP-0025 - NFT Token Standard", "schema": [ "CIP-0025/cddl/version_1.cddl", "CIP-0025/cddl/version_2.cddl" ] }

Of course, making it required is a preference.. But let's discuss! Happy to brainstorm, clarify or improve!

WDYT @rphair ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category: MetadataProposals belonging to the 'Metadata' category.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions