-
Notifications
You must be signed in to change notification settings - Fork 334
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
CIP10 - Transaction Metadata label registry #34
CIP10 - Transaction Metadata label registry #34
Conversation
What about something more dynamic that allows any type of metadata without the need of static reservations? @Crypto2099 and I were discussing the other day a solution like having a json-schema registered on-chain (many will prolly need to be split in different indexes because of size) and then using index 0 to store the hash where the schema to validate metadata is stored. |
@rcmorano any dynamic system like you're proposing would have to be built on top of a static registry. In your message, you suggest using "0" as a magic number, this is the same thing as reserving some static number and saying that everybody who uses that static number is doing it to post the hash of where the schema is located If you want to propose a system where the schema is stored on-chain, probably the best way to do it is to
|
I don't think the two are necessarily mutually exclusive and we could hypothetically use this "register" suggested in this CIP to reserve a certain amount of index slots specifically for the purpose of storing Metadata Schema on-chain. I think of the suggestion to store the schema on-chain as helping aid in the immutability of data in the long term since any off-chain solution may be subject to change or modification over time. We would then hypothetically need a couple of different reservations to support this concept: [Example Reserved Index] |
* CIP10 draft * add forum post * Update reserved range * Update README.md
* CIP10 - Transaction Metadata label registry (#34) * CIP10 draft * add forum post * Update reserved range * Update README.md * CIP10: adding nut.link oracles labels Co-authored-by: Sebastien Guillemot <SebastienGllmt@gmail.com>
* CIP10 - Transaction Metadata label registry (#34) * CIP10 draft * add forum post * Update reserved range * Update README.md * CIP10: adding nut.link oracles labels Co-authored-by: Sebastien Guillemot <SebastienGllmt@gmail.com>
This is another one of those cases where I'm pre-emptively reserving the CIP number
10
for this because we need to get this merged regardless and other standards already being written depend on this standard, so it's easier if people can just start referring to CIP10 now.Abstract
Cardano transaction metadata forces metadata entries to namespace their content using an unsigned integer key. This specification is a registry of which use cases has allocated which number to avoid collisions.