Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add TIP-48: Metadata Encoding Standard v1 #133

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Tuditi
Copy link

@Tuditi Tuditi commented Jun 20, 2023

A standard for encoding and decoding data in the metadata field of an output.

Rendered version

@Tuditi Tuditi force-pushed the feat/add-tip-48 branch from 733c0bc to 7c32f44 Compare June 20, 2023 11:52
@PhilippGackstatter
Copy link

Just two notes: The TIP number conflicts with #153 (and we already have links to the IOTA 2.0 TIP-48 in many places, so it would probably be much easier to update the MES-TIP number) and the metadata in IOTA 2.0 will be a map rather than a flat array, so you could consider adapting the TIP to that structure.

On the other hand, one possible use of the metadata map is so that each application-level use case can use its own key and define its encoding/compression/format/... in its own spec or TIP. We could consider having a "Registry TIP" where applications that want to interop can register their key. This would not be protocol enforced, of course, but these kinds of registries seem to work pretty well (a large scale example being SLIP-44: Coin Types).
For instance, as far as I'm aware, it is planned that did:iota, which is currently stored directly in the state metadata of an alias output, migrates to one of the keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants