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 PlutusV3Script.fromCbor() instead.
Private
#compiledPrivate
#originalComputes the script hash of this Plutus V3 script.
the script hash.
Creates a Core NativeScript object from the current NativeScript object.
The Core NativeScript object.
Static
fromDeserializes the PlutusV3Script from a CBOR byte array.
The new PlutusV3Script instance.
The CBOR encoded PlutusV3Script object.
Static
fromCreates a PlutusV3Script 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.
V3 was introduced in the Conway hard fork.
The main changes in V3 of Plutus were to the interface to scripts. The ScriptContext was extended to include the following information: