Describe your idea, in simple words.
Currently, Ogmios returns native scripts as JSON objects using some special keywords to represent the little DSL formed by the native scripts (all, any, after, before ...). On-chain, these scripts are represented as CBOR in a compact structure. Having readily access to that structure instead of needed to parse and re-serialize the JSON could be handy.
Why is it a good idea?
Because the serialization from the higher-level DSL down to CBOR isn't handy. While it is detailed in CIP-0029, it can be an unnecessary complexity to clients who need to also store it in a compact form or, who need to calculate a hash digest of the data.
Are you willing to work on it yourself?
Yes.
Describe your idea, in simple words.
Currently, Ogmios returns native scripts as JSON objects using some special keywords to represent the little DSL formed by the native scripts (
all,any,after,before...). On-chain, these scripts are represented as CBOR in a compact structure. Having readily access to that structure instead of needed to parse and re-serialize the JSON could be handy.Why is it a good idea?
Because the serialization from the higher-level DSL down to CBOR isn't handy. While it is detailed in CIP-0029, it can be an unnecessary complexity to clients who need to also store it in a compact form or, who need to calculate a hash digest of the data.
Are you willing to work on it yourself?
Yes.