emulator.emulator._constructor_
Home > @blaze-cardano/emulator > Emulator > (constructor)
Emulator.(constructor)
Constructs a new emulator instance seeded with the provided genesis outputs.
Signature:
constructor(genesisOutputs: TransactionOutput[], { evaluator, slotConfig, trace: traceGovernance, slotsPerEpoch, params, treasury, cc, ccHotCredentials, }?: EmulatorOptions);
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
genesisOutputs |
TransactionOutput[] |
Initial UTxOs used to populate the ledger. |
|
{ evaluator, slotConfig, trace: traceGovernance, slotsPerEpoch, params, treasury, cc, ccHotCredentials, } |
(Optional) |