Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lucid/src/types/mod.ts>Validator

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 Validator
import { type Validator } from "https://deno.land/x/lucid@0.7.8/src/types/mod.ts";

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

definition:
| MintingPolicy
| SpendingValidator
| CertificateValidator
| WithdrawalValidator