Skip to content

Commit

Permalink
Update schema/readme with new ticker max length (#207)
Browse files Browse the repository at this point in the history
In the wild and on other chains, tickers get as long as 9 characters.

Of relevance to me, SUNDAE is 6 characters, but CoinMarketCap recognizes
a MILKSHAKE token with 9 characters.

See https://ethereum.stackexchange.com/questions/25619/is-there-length-limits-on-token-symbols
for real world data.

Also relevant: input-output-hk/offchain-metadata-tools#45
  • Loading branch information
Quantumplation authored Feb 15, 2022
1 parent 9cba7d8 commit fe63776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CIP-0026/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ The following properties are considered well-known, and the JSON in their values
{
"type": "string",
"description": "A short identifier for the metadata subject, suitable to show in listings or tiles.",
"maxLength": 5,
"maxLength": 9,
"minLength": 2
}
```
Expand Down
2 changes: 1 addition & 1 deletion CIP-0026/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
, "ticker":
{ "type": "string"
, "description": "A short identifier for the metadata subject, suitable to show in listings or tiles."
, "maxLength": 5
, "maxLength": 9
, "minLength": 2
}
, "decimals":
Expand Down

0 comments on commit fe63776

Please sign in to comment.