Settlement
Nobody has to be
taken at their word.
Four properties carry the whole model: nobody picks the seed, every result is recomputed rather than reported, every trace can be re-run by anyone, and every match is pinned to one exact build.
1. Nobody picks the seed
Both sides seal a nonce first, and the seed comes from the two of them together. A player who could choose the seed would grind it for a friendly map, piece order or spawn - and so would a platform.
seed = keccak256(n1, n2, match_id)
A block hash used to be mixed in as well, and it was taken out: each side seals its half before either is opened, so a block hash adds nothing to fairness - and it would hand whoever reveals second a grinding window, waiting for a block whose hash suited them. Sealing a nonce and never opening it is not free either: if one side opens and the other never does, the pot goes to the side that did.
2. The result is recomputed, never reported
A client does not get to say what happened. It submits the recorded input trace, and the result is produced by re-running the pinned build from the seed and those inputs. The match page shows you that comparison as it happens: live trace hash beside replay trace hash, checkpoint by checkpoint.
Re-run a match yourself - paste a seed and a recorded trace and the match runs again in your browser. Every settled match page hands you both values, so checking one of ours is a copy, a paste and about a millisecond.
Checkpoints are the reason this is cheap. With a state hash every N frames, two runs that disagree can be binary-searched down to the single frame where they parted, rather than compared as whole memory images.
What the sandbox gives a game
| input_get(frame) | its own recorded inputs |
| random_next() | a stream seeded from the match seed |
| frame_count() | how long the match is |
| checkpoint(frame, hash) | a place to publish its own state hash |
No clock, no sockets, no filesystem, no threads, no ambient randomness. A listed module is structurally unable to reach any of it.
3. The challenge window
The platform signs results, so the platform has to be checkable. Results post with a bond attached, and during the window anyone - the player who lost, a spectator, a watchdog running unattended - can post their own bond plus the trace they believe is right. Resolution re-runs the build on the disputed seed and inputs. A correct challenger takes the bond.
The first version resolves on platform infrastructure with every trace public, so a third party can reproduce the answer independently. The version after that verifies the disputed frame range on-chain: binary-search the checkpoints to one frame, then execute that single frame. That shape is the same interactive fraud proof rollups already run, pointed at game state instead of account state.
4. One match, one build
An accepted build is hashed, and the hash is what a match is opened against:
game_id = sha256(wasm || asset_manifest)
Settlement only accepts a result signed against the exact hash the match was opened under. A developer shipping an update produces a new hash that re-enters the gates; the previous build keeps running and in-flight matches settle against it. Versioned rather than mutable, which also makes rolling back free.
Assets are data, never logic. The manifest is content-addressed and anything with executable magic bytes is refused - "it is only a texture update" is otherwise a new scoring table.
Matchmaking, and why you do not choose your opponent
Matches are assigned from a queue at a stake tier. Direct challenges between two people who know each other are allowed, and they earn no rewards and no ladder credit - which keeps every incentive on the platform pointed at real play. Rewards are denominated in unique opponents faced, never in matches played.
New players spend their first matches against other new players, and ratings are per game rather than per account. A first match is meant to be cheap and winnable; the lowest tier exists for exactly that reason and every game is offered at it.