Good UI,
for humans (and robots)
name, ticker, decimals, logo
from an indexer alone
MIP-0018
Events for token metadata
Today
contract-issued UTXO
0x9f3c7a1e
...b204e1
or
contract token
nothing
MIP-0018
what a token says about itself
+
how it says it, on chain
No protocol change
Goals
name, ticker, decimals, logo
from an indexer alone
authoritative
on chain
new keys, same transport
Getters need execution. Registries need registration.
kind | representation | color |
|---|---|---|
| 1 | shielded UTXO | yes |
| 2 | unshielded UTXO | yes |
| 3 | contract token | no |
Each form is described on its own
Example
people group them by symbol →
defined by domainSep + kind
grouped by symbol + contract address
| name | string, 64 | SHOULD |
| symbol | string, 12 | SHOULD |
| decimals | uint | SHOULD |
| standards | string | MAY |
| image | URI | MAY |
| image_sha256 | 32 bytes | MAY |
NOT SERVED
description · url · bridge ·
supply · localization
valid to emit, ignored by default
new keys, no new version
served while the token declares the standard
supply
prices
images
which ACME
is real
NIGHT
DUST
complex rules
execution
0 bytes · 1 string · 2 uint · 3 JSON · 4 URI · 5 null
All four fields: 95 of 256 bytes