Creates a new Plutus script from the RAW bytes of the compiled script.
This does NOT include any CBOR encoding around these bytes (e.g. from "cborBytes" in cardano-cli) If you're creating this from those you should use PlutusV4Script.fromCbor() instead.
Private #compiledPrivate #originalComputes the script hash of this Plutus V4 script.
the script hash.
Creates a Core PlutusScript object from the current PlutusV4Script object.
The Core PlutusScript object.
Static fromDeserializes the PlutusV4Script from a CBOR byte array.
The new PlutusV4Script instance.
The CBOR encoded PlutusV4Script object.
Static fromCreates a PlutusV4Script object from the given Core PlutusScript object.
The core PlutusScript object.
Generated using TypeDoc
Plutus' scripts are pieces of code that implement pure functions with True or False outputs. These functions take several inputs such as Datum, Redeemer and the transaction context to decide whether an output can be spent or not.
V4 was introduced in the Dijkstra hard fork.