Overview
An OTC desk on Solana. A taker asks chosen makers for a price on a size, the request and the quotes travel sealed, and the accepted quote settles in one transaction from the maker’s inventory.
The taker’s browser seals a request (pair, side, size) separately to each maker it picks and posts the envelopes. Each maker’s browser opens its envelope, signs a price with the maker’s quote key and seals the quote back to the taker. The taker accepts one quote, and the desk builds a transaction in which the program’s settle instruction moves both legs between the taker’s wallet and the maker’s vaults and takes the 5 bps fee on the quote leg.
The desk server routes envelopes it cannot open. It learns the trade when the taker accepts a quote, because it builds the settlement transaction; Privacy lists who sees what, and from when.
Pairs
The desk lists SOL/USDC and JitoSOL/USDC. In each pair the first token is the base and the second the quote: a size is always a base amount, and a price is quote tokens per base token.
Trade as a taker
Unlock the desk
Open /desk, connect a wallet, sign in and sign the key message once. Unlock the desk explains both signatures.
Request a price
Pick a pair, a side, a size and the makers to ask. The request stays open for 60 seconds by default.
Accept a quote
Quotes open in your browser as they arrive, with the best one marked. Accept it, review both legs and the fee, and sign the one transaction. Request a price walks through every state.
Quote as a maker
Register and deposit
On /desk/inventory, register as a maker in one transaction, then deposit inventory for each mint you quote. See Inventory.
Quote
Requests addressed to you appear on /desk/quotes, opened in your browser. Set a price and press Quote. See Quote as a maker.
Build on the API
Everything the desk screens do goes through one HTTP API and one live channel of server-sent events. The API reference lists every endpoint, field and error. Sealing and quote signing happen in the client, with keys derived from the wallet’s signature over the key message, so an integration derives and holds its own desk key.