Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/lucid/src/types/types.ts>Script

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Go to Latest
type alias Script
import { type Script } from "https://deno.land/x/lucid@0.8.1/src/types/types.ts";

Plutus scripts need to be double Cbor encoded. Raw compiled scripts without any Cbor encoding do not work.

definition: { type: ScriptType; script: string; }