Blueprint

scalus.cardano.plutus.contract.blueprint.Blueprint
See theBlueprint companion class
object Blueprint

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Blueprint.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(contractTitle: String, description: String, validatorScript: PlutusScript): Blueprint

Returns a CIP-57 compliant Blueprint based on the provided validator.

Returns a CIP-57 compliant Blueprint based on the provided validator.

The returned Blueprint always contains only 1 validator.

To specify the redeemer and datum schemas, use Blueprint.newBuilder().

Value parameters

contractTitle

the title of the "blueprintee" contract

description

the description of the "blueprintee" contact

validatorScript

the script of the validator

Attributes

def fromJson(s: String): Blueprint

Givens

Givens

given given_JsonValueCodec_Blueprint: JsonValueCodec[Blueprint]