scalus.cardano.node.EmulatorBase
See theEmulatorBase companion trait
object EmulatorBase
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
EmulatorBase.type
Members list
Value members
Concrete methods
def certStateWithRegisteredCredentials(initialStakeRewards: Map[Credential, Coin], context: Context): CertState
Builds a CertState with the given stake credentials pre-registered.
Builds a CertState with the given stake credentials pre-registered.
Each credential is inserted into deposits (using the protocol parameter deposit amount) and rewards with the provided balance, so the ledger treats them as registered stake addresses without requiring an explicit registration transaction.
Value parameters
- context
-
the emulator context (used to read the key deposit amount from protocol params)
- initialStakeRewards
-
map from stake credential to its initial reward balance
Attributes
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
In this article