Marlowe Tx metadata #5
Replies: 3 comments 8 replies
-
@paluh, shouldn't |
Beta Was this translation helpful? Give feedback.
-
@paluh, could we make this more precise by adding type information to the specification, and an example?
Also, the version of the validator may differ from the version of the DSL itself. Right now the DSL is on version 3, but the validator might start with version 1. Not sure. |
Beta Was this translation helpful? Give feedback.
-
Could we also add the hash of the initial contract-creation tx in here (To make it easy to query for all txs related to a marlowe contract instance)? Making marlowe contracts and its transitional states visible in blockchain explorers etc. using this metadata would be pretty sweet! .. unless there already exists an easy and well defined way for a 3rd party to find such txs :) |
Beta Was this translation helpful? Give feedback.
-
I propose to register Marlowe metadata label as (
1564
- Ch. Marlowe date of birth):Our internal and minimal schema for
Tx
metadata forMarlowe
could be:For example:
The
version
tag indicates the metadata schema version.Validator version is not included in the metadata - we just assume constant validator so its version is directly accessible from the transaction output.
Marlowe version is not included in the metadata - it is determined by the validator version.
In other words the main purpose of this metadata schema is to just tag Marlowe related transactions on chain so they can be processed further.
Beta Was this translation helpful? Give feedback.
All reactions