Perps on prediction-market odds, settled in USDC on Solana.How we price from the book
Resources

Dev log

3 December 2026

Pricing from the book, not the tape

The index is the midpoint of the best bid and ask in the source order book. Last-trade prices on thin markets can sit far from where anyone would trade now; the book cannot. Polymarket books come in one batched call for every listed market, Kalshi books one by one, and the app's status bar shows how long the last read took.

3 December 2026

A reservation model for a bounded instrument

An outcome trades between 0 and 1, so the best case of a long is N(1 - q0), exactly. The pool reserves that amount at open and refuses the trade if total reserves would pass 80% of its USDC or one market would pass 25%. There is no scenario where a winning position waits for capital.

3 December 2026

One document for the whole book

Accounts, positions, reserves, nonces and processed deposit signatures live in one JSON document written with a conditional write on its ETag and retried on conflict. Two opens racing for the last reserve cannot both pass. Closed positions move to per-wallet history files every minute to keep the book small.

3 December 2026

The ledger is a Memo a minute

Events are batched each minute into an immutable JSON file served byte for byte; its SHA-256 goes into a Solana Memo signed by the keeper key: verdict v1 <batchId> <count> sha256:<hash>. A fill carries the book snapshot it used, so it can be checked against the source's own price history.

3 December 2026

Agents get the same door

The REST API, the TypeScript SDK served at /sdk/verdict.js and the MCP server at /api/mcp read the same data as the app. Trading takes the same wallet-signed messages, so an agent with a key trades exactly like a person with a wallet.