Crate cardano_serialization_lib
source ·Re-exports§
pub use crate::*;
Modules§
Macros§
Structs§
- ED25519 key used as public key
- We introduce a builder-pattern format for creating transaction outputs This is because:
Enums§
- JSON <-> PlutusData conversion schemas. Follows ScriptDataJsonSchema in cardano-cli defined at: https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/ScriptData.hs#L254
- Each new language uses a different namespace for hashing its script This is because you could have a language where the same bytes have different semantics So this avoids scripts in different languages mapping to the same hash Note that the enum value here is different than the enum value for deciding the cost model of a script
- Used to choosed the schema for a script JSON string
Functions§
- Receives a script JSON string and returns a NativeScript. Cardano Wallet and Node styles are supported.
- returns minimal amount of ada for the output for case when the amount is included to the output