Party

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 management
  • address: Shelley address for receiving funds
  • signer: 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 Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Alice extends Party
case Bob extends Party
case Charles extends Party
case Dave extends Party
case Eve extends Party
case Faith extends Party
case Grace extends Party
case Hal extends Party
case Ivan extends Party
case Judy extends Party
case Kevin extends Party
case Laura extends Party
case Mallory extends Party
case Nick extends Party
case Oracle extends Party
case Peggy extends Party
case Sybil extends Party
case Trent extends Party
case Victor extends Party
case Wendy extends Party