Starknet· Mainnet
Offbook
A private OTC market on Starknet: quote, accept, settle, with no AMM in the middle.
Overview
Makers post bids or asks on a public RFQ board or send a signed package to a known counterparty. Takers accept fixed terms. Both legs lock in an escrow helper and settle through STRK20, Starknet's privacy pool, so the counterparty link never shows up on a public swap trace.
The problem
Large trades on an AMM suffer slippage, MEV and a public graph of who traded with whom. Desks and whales need fixed terms, real size and privacy, and Starknet had no venue for that.
What I built
- A public RFQ board with open, accepted, completed and mine filters, and first-accept-wins on open listings
- Private RFQ packages as signed JSON for known counterparties, using the same settlement path
- Atomic bilateral escrow: neither side receives anything until both legs are locked; makers can reclaim at expiry
- STRK20-native shield, lock and claim through Ready or Xverse, with claim secrets kept only in the browser
- Support for STRK, ETH, USDC, strkBTC and custom ERC-20s validated in-browser
Decisions
Servers never see secrets
Postgres stores public terms and signatures only. Claim secrets and viewing keys never leave the user's browser.
More screens

How it flows
ArchitectureMainnet
Offbook
01Maker posts quote
02Taker accepts terms
03Maker locks leg
04Taker locks leg
05Both claim private notes
CairoSTRK20Next.jsTypeScriptPostgres
