Expand description
Minimal Plutus data types and encoding implementation
This crate implements the Data
type used by Untyped Plutus Core, a low-level language
used by Cardano smart contracts, along with traits for encoding Rust types as Plutus data
and Plutus data CBOR bytes.
This crate is developed as part of the Partner Chains toolkit for use in no_std contexts where existing alternatives (uplc, cardano-serialization-lib) can not be used, and as such is not intended to be feature-complete for general use.
Structs§
- MapDatum
Entry - Key-value pair stored in Datum::MapDatum
Enums§
- Datum
- Plutus datum type
Traits§
Functions§
- to_
datum_ cbor_ bytes - Encodes a message as a Plutus Datum and returns CBOR encoding of this datum.