scalus.testing.kit.Party
See theParty companion object
enum Party
Test parties for smart contract testing.
Each party has a deterministic wallet derived from a test mnemonic, providing:
hdAccount: HdAccount for CIP-1852 compatible key managementaddress: Shelley address for receiving fundssigner: TransactionSigner for signing transactions
Many names reference classic cryptographic roles (Alice, Bob, Eve, Mallory, etc.) or notable figures in cryptography and blockchain (Hal Finney, Nick Szabo).
There are exactly 20 parties to match Yaci Devkit's default configuration, which creates 20 funded addresses from the same test mnemonic. This allows the same test code to work with both the in-memory scalus.cardano.node.Emulator (for fast unit tests) and Yaci Devkit (for integration tests).
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article