EmulatorBase

scalus.cardano.node.EmulatorBase
See theEmulatorBase companion trait
object EmulatorBase

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def createInitialUtxos(addresses: Seq[Address], initialValue: Value = ...): Utxos

Creates initial UTxOs for the given addresses.

Creates initial UTxOs for the given addresses.

Value parameters

addresses

The addresses to initialize with funds

initialValue

Initial value per address (default: 10,000 ADA like Yaci Devkit)

Attributes

Returns

A map of transaction inputs to outputs

def evalQuery(utxos: Utxos, query: UtxoQuery): Utxos

Evaluate a UTxO query against a UTxO set.

Evaluate a UTxO query against a UTxO set.

This is the pure, static query evaluation logic shared by both the mutable Emulator and the immutable scalus.testing.ImmutableEmulator.

Attributes