Skip to content

.bytes() method for "Opaque ByteArray" in the contract language #117

@papag00se

Description

@papag00se

On the Helios Lang side of the house - I am wondering if we can get a .bytes() on the "Opaque ByteArray" objects like MintingPolicyHash, DatumHash, etc. to make it easier to compare to a known ByteArray. Right now, the .serialize() functions wraps it in a CBOR tag.

.bytes(), .bytearray(), or .to_bytearray() all seem appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions