import { Core } from "https://deno.land/x/lucid@0.7.7/src/core/core.ts";
const { PlutusScript } = Core;
Methods
Static Methods
__wrap(ptr)
from_bytes(bytes)
new(bytes)
- 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 creating this from those you should use PlutusScript::from_bytes() instead.