Skip to content

Register a CIP-26 token

CIP-26 metadata is a JSON file in the Cardano token registry on GitHub, submitted by pull request. That repository explains how to create, sign and submit the file. This registry syncs it every hour and serves it with source: "CIP_26".

{
"subject": "<policy id><asset name hex>",
"policy": "<policy script, CBOR hex>",
"name": { "value": "My Token", "sequenceNumber": 0, "signatures": [ … ] },
"description": { "value": "What the token is for", "sequenceNumber": 0, "signatures": [ … ] },
"ticker": { "value": "MTK", "sequenceNumber": 0, "signatures": [ … ] },
"decimals": { "value": 6, "sequenceNumber": 0, "signatures": [ … ] },
"url": { "value": "https://example.com", "sequenceNumber": 0, "signatures": [ … ] },
"logo": { "value": "<base64 PNG>", "sequenceNumber": 0, "signatures": [ … ] }
}
RuleIf broken
name and description are presenta MANDATORY missing_value error
texts have the lengths CIP-26 allows, e.g. a name of at most 50 charactersan invalid_length error, MANDATORY for name and description
decimals is a whole number from 0 to 19an OPTIONAL out_of_range or wrong_type error
logo is valid base64, at most 64 KiB once decodedan OPTIONAL invalid_base64 or too_large error
the file is named <subject>.json, after the subject inside itnot indexed (filename_subject_mismatch)
the subject is hex, 56 to 120 charactersnot indexed (unusable_subject)

With validation=ALL (the default), an entry with errors is still served with its validation_errors.

Follow the token registry’s submission instructions to validate and sign your file before opening the pull request.

Built on Yaci Store and cardano-client-lib by BloxBean.