HYBRID EXECUTION
ARCHITECTURE.
Exohash ships with a library of parameterized, deterministic game engines. Engines define rules and outcomes; the protocol enforces solvency and settlement.
Two modes: Session engines for independent bets, Arena engines for shared rounds.
Not all games share the same execution constraints. Exohash splits the world into two deterministic models: independent bet reducers and shared round reducers with scheduled wakeups.
Bet Reducer
Event-driven transition per bet: validate → reserve → schedule RNG → finish.
Engines are pure logic. The chain is the referee.
In the Exohash model, engines describe state transitions and payout intentions. The protocol controls funds, validates constraints, and applies settlement deterministically.
- • On-chain game catalog
- • Parameterized markets
- • Deterministic selection by id
- • Engines never move money
- • Keeper enforces solvency
- • Outcomes settled from escrow
- • RNG resolved by height
- • Wakeups schedule deterministically
- • Reproducible across validators
Determinism is the product.
Not just a property.
Engines follow a reducer-style contract: given the same inputs, every validator computes the same transition and the same settlement outputs. This makes games verifiable at consensus time.
A game definition provides an engine identifier plus JSON configuration. Players provide an opaque entry payload (their bet layout / action data). The protocol passes that payload to the engine without trusting the client to specify payouts.
Engines must expose a maximum theoretical payout for each entry so x/house can reserve liquidity before outcomes are resolved.
- 1Entry payloadPlayer supplies an opaque action/bet blob (e.g., mines layout, dice thresholds).
- 2Config + validationEngine validates payload against a JSON config (limits, modes, edges).
- 3Reserve max payoutx/house reserves worst-case payout before accepting the entry.
- 4Schedule RNG/timeoutEngine requests RNG at a specific height (and/or timeout height).
- 5Transition + outcomesEngine emits next state + payout intentions; keeper settles from escrow.
Engines currently implemented.
The engine set is expanding, but even at devnet stage it already demonstrates both execution models: single-shot settlement, interactive state machines, and tick-based multiplayer rounds.
What engines are allowed to do.
These constraints are deliberate: they keep execution verifiable, keep the solvency model intact, and prevent hidden discretionary controls.
Engine configs (limits, edges, join windows, timeout defaults) are being tuned during devnet. The execution contract is stable; the operational envelope is being hardened via adversarial testing.