ImmutableEmulator

scalus.testing.ImmutableEmulator
See theImmutableEmulator companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self 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

An empty ImmutableEmulator with no UTxOs and default test-mainnet parameters.

An empty ImmutableEmulator with no UTxOs and default test-mainnet parameters.

Attributes

Create an ImmutableEmulator from a mutable scalus.cardano.node.EmulatorBase.

Create an ImmutableEmulator from a mutable scalus.cardano.node.EmulatorBase.

Captures a snapshot of the emulator's current state.

Attributes

def fromJson(json: String, network: Network = ...): ImmutableEmulator

Create an ImmutableEmulator from a JSON string.

Create an ImmutableEmulator from a JSON string.

Attributes

See also

Preconfiguration for the JSON format

Create an ImmutableEmulator from a Preconfiguration.

Create an ImmutableEmulator from a Preconfiguration.

Resolves party names and addresses, then initializes the emulator with the resulting UTxOs.

Attributes

def withAddresses(addresses: Seq[Address], initialValue: Value = ...): ImmutableEmulator

Create an ImmutableEmulator with funded addresses.

Create an ImmutableEmulator with funded addresses.

Value parameters

addresses

addresses to fund

initialValue

initial value per address (default: 10,000 ADA)

Attributes