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 PlutusV1Script.fromCbor() instead.
Private
#compiledPrivate
#originalComputes the script hash of this Plutus V1 script.
the script hash.
Creates a Core NativeScript object from the current NativeScript object.
The Core NativeScript object.
Static
fromDeserializes the PlutusV1Script from a CBOR byte array.
The new PlutusV1Script instance.
The CBOR encoded PlutusV1Script object.
Static
fromCreates a PlutusV1Script 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.
V1 was the initial version of Plutus, introduced in the Alonzo hard fork.