scalus.testing.Preconfiguration
See thePreconfiguration companion object
Declarative emulator preconfiguration.
Keys in utxo are either party names (case-insensitive, e.g. "alice") or raw bech32/base58 addresses. Values are sequences of UTxO entries to create at that address.
Example JSON:
{
"utxo": {
"alice": [{ "ada": 100000000000 }],
"bob": [
{ "ada": 5000000, "datum": { "int": 42 } },
{ "ada": 2000000, "datum_hash": "abcd..." }
],
"addr_test1qz...": [{ "ada": 50000000, "tx_id": "abcd...", "idx": 0 }]
}
}
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article