scalus.testing.integration.BlockfrostTestContext
Integration test context for real Cardano networks via Blockfrost.
Uses system time for slot calculation and Thread.sleep for time advancement. Real networks require longer wait times for transaction propagation.
Value parameters
- cardanoInfo
-
Cardano network information
- envName
-
Environment name ("Preprod" or "Mainnet")
- parties
-
Available test parties (derived from wallet mnemonic)
- provider
-
BlockfrostProvider connected to Preprod or Mainnet
Attributes
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
Members list
Advance time by n slots (async).
Advance time by n slots (async).
- Emulator: Directly sets slot to currentSlot + n (instant)
- Yaci/Real networks: Waits for ~n seconds (1 slot = 1 sec in Yaci)
Value parameters
- n
-
Number of slots to advance
Attributes
- Definition Classes
-
Attributes
- Definition Classes
-
Submit transaction and wait for confirmation (async).
Submit transaction and wait for confirmation (async).
Value parameters
- tx
-
Transaction to submit
Attributes
- Returns
-
Either an error or the transaction hash
- Definition Classes
-
Convenience accessor for Alice (first party).
Convenience accessor for Bob (second party).
Convenience accessor for Eve (eavesdropper party).
Cardano network information (protocol params, network, slot config).
Cardano network information (protocol params, network, slot config).
Attributes
Environment name for logging (e.g., "Emulator", "YaciDevKit", "Preprod").
Environment name for logging (e.g., "Emulator", "YaciDevKit", "Preprod").
Attributes
All available test parties.
All available test parties.
Attributes
Provider for blockchain queries and transaction submission.
Provider for blockchain queries and transaction submission.
Attributes