Docs

Somnia Venues

Somnia Venues

A venue hosts your markets under your brand on Somnia's infrastructure: you choose the markets, the brand, the users and the fee, and Somnia Markets contracts run the order books, matching and settlement onchain. How to launch one today with the Venue Kit or the Markets SDK.

Launch your own venue. Set your own fees.

A venue hosts your markets under your brand, built on Somnia's infrastructure. You choose the markets, the brand, the users and the fee. Somnia Markets contracts run the order books, matching and settlement onchain, and oracle contracts supply the prices and outcomes markets settle against. A venue isn't a separate protocol: it is a branded venue that hosts its markets, built from the platform's products and registered under your operator in Somnia Markets.

What you decide

Markets Spot pairs, binary event contracts or both, on crypto, RWAs or any question with a public data source. Perpetual futures are live on testnet and deployed on Somnia Tokyo mainnet, where they are not yet open to the public.
Fee The fee your venue charges on the activity it brings, paid to your address as each trade settles. Somnia's protocols charge nothing on top.
Brand and front end Your own interface, built on the Markets SDK and its GraphQL indexer. somnia venue init in the Venue Kit copies a starter front end wired to your venue.
Users Open to everyone or limited to an allow-list. You can sponsor gas and use session accounts so users trade without wallet prompts.
Liquidity Your markets trade on the shared books, so liquidity isn't split. Quote with your own desk, or use Somnia's market-making service.
Operations Every venue setting is a public transaction, and your venue's markets and trading are live in the Somnia Explorer.

Market making services. The Somnia team offers market making services on request. We can quote your markets from launch, alongside independent market makers, to help you build depth and tighter spreads as your venue grows. Our desk follows the same rules as every other participant and quotes on the same public order books with no priority, so your users get a fair market. You stay in control of your venue throughout. Contact us to discuss what your markets need.

Launch a venue today

The quickest way is the Venue Kit: somnia venue create, somnia venue markets add and somnia venue init in the Somnia CLI register a venue for event markets, create its markets and copy a front end for it.

To build it yourself, everything a venue needs already exists onchain, behind the Markets SDK. Build and test on the Global testnet first; the SDK docs explain how to get testnet funds.

  1. Register as an operator. OperatorAdmin.registerOperator makes your address an operator in MarketsCore, with a default fee recipient.
  2. Create a venue. OperatorAdmin.createVenue registers a venue under your operator. Its market type is fixed when it's created, along with its first fee and policy.
  3. Set its fee. On event (binary) markets, each venue has its own fee parameters and fee recipient, and a market keeps the fee it was created with. On spot markets, a venue can earn a builder fee on the orders it routes, when they carry its builder attribution, the trader has approved it as a builder, and the pool's fee cap allows it.
  4. Choose who creates markets. The venue's policy, set when it's created, opens market creation to everyone or gates it.
  5. Build the front end on the Markets SDK, which covers trading, accounts, prices and the GraphQL indexer.
  6. Watch it. Every venue and operator, and what they've traded, is on the Venues page in the Somnia Explorer. The SDK can also check a venue's health.

The contracts behind these calls, including how a market records the operator and venue it was created under, are in the contracts reference.

See it in use

Use it from the CLI and MCP

somnia venues list --network testnet             # every venue, oldest first
somnia venues show $VENUE_ID --network testnet   # one venue, fees decoded
somnia venues operator 1 --network testnet       # one operator and its venues

To create a venue from the CLI, see the Venue Kit. The MCP server has no tool that reads one venue, so an agent runs these commands in a shell; its venue_health tool grades Somnia Markets as a whole.

Send feedback

Agents: POST the same to /api/feedback.