Skip to main content

RuntimeContext

@hardkas/core


@hardkas/core / RuntimeContext

Interface: RuntimeContext

Defined in: packages/core/src/runtime-context.ts:16

Properties​

assumptionLevel?​

optional assumptionLevel?: string

Defined in: packages/core/src/runtime-context.ts:22


clock​

clock: DeterministicClock

Defined in: packages/core/src/runtime-context.ts:17


ids​

ids: IdProvider

Defined in: packages/core/src/runtime-context.ts:19


plannerAuthority?​

optional plannerAuthority?: "KASPA_WASM_GENERATOR" | "SYNTHETIC_SIMULATOR"

Defined in: packages/core/src/runtime-context.ts:34

Planner authority carried through from the tx-builder result at plan time. KASPA_WASM_GENERATOR = real Kaspa execution (kaspa-wasm 2.x upstream Generator). SYNTHETIC_SIMULATOR = HardKAS-owned synthetic planner for the developer harness. Absence = authority not established; NEVER synthesize a value downstream.


plannerAuthorityDetail?​

optional plannerAuthorityDetail?: string

Defined in: packages/core/src/runtime-context.ts:36

Human-readable authority detail, e.g. kaspa-wasm@2.0.1. Optional.


random​

random: DeterministicRandom

Defined in: packages/core/src/runtime-context.ts:18


telemetry​

telemetry: TelemetryManager

Defined in: packages/core/src/runtime-context.ts:20


utxoSelection?​

optional utxoSelection?: object

Defined in: packages/core/src/runtime-context.ts:23

selectedUtxos​

selectedUtxos: number

selectionStrategy​

selectionStrategy: string

totalUtxosSeen​

totalUtxosSeen: number


workflowId?​

optional workflowId?: string

Defined in: packages/core/src/runtime-context.ts:21