Prysm
100x price resolution. Permissionless prediction market infrastructure.
Why
Prysm is the alternative: an open-source SDK and settlement contract set that any team can embed to run a prediction market orderbook. It settles against Polymarket's Conditional Token Framework on Polygon, inheriting their markets and resolution — but the orderbook itself is permissionless. No API keys. No gatekeepers. No single point of control over order flow.
What it solves
100x finer price resolution. Prysm orderbooks support 100x more tick granularity than Polymarket's native book. Market makers quote tighter spreads, traders get better fills, and spread capture that currently leaks to the platform flows back to participants.
Canonical wire format. One ABI-encoded WireOrder struct that works identically as Polygon calldata, Ethereum blob data, x402 payment headers, AI agent messages, or WebSocket payloads. Build once, run everywhere.
On-chain expiry enforcement. Off-chain expiry checks fail under clock skew and relay delay. Prysm enforces expiry at the contract level — block.timestamp is the only source of truth. Stale orders revert atomically.
Atomic settlement. Collect USDC, split shares, distribute tokens, pay fees — all in a single SettlementRouter transaction. Any failure reverts the entire sequence. No partial fills, no orphaned state.
Fee architecture
Finer price resolution means Prysm orderbooks can beat Polymarket on spread while still collecting fees. Per-order fee switches enable zero-fee promotions, VIP tiers, and market maker rebates alongside a global fee schedule.
Who it's for
Frontend teams — Drop in the SDK, set your affiliate address, earn on every trade. You bring users and design. Prysm handles signing, matching, and settlement.
Smart contract wallets — Native EIP-1271 signatures, variable-length sig support, batchable settlement. First-class account abstraction and multi-sig.
AI agent frameworks — Canonical binary encoding, raw byte export. No JSON, no custom parsers. Same wire format that settles on-chain. Purpose-built for autonomous trading.
prysm — permissionless prediction market infrastructure