Tutorial

Your first Trading market

You will open trading for a SecurityPool by creating its trading pool and seeding it at a 70% conditional Yes price (the Yes price if the market does not resolve Invalid) with 0.01 ETH. You finish with LP tokens (the trading pool's liquidity-provider tokens) and separately held Invalid shares in your wallet, and the market listed as open.

Before you start

Trading is an exchange for Statoblast outcome shares: a trading pool swaps the Yes and No shares of exactly one SecurityPool, and a SecurityPool without one has no market yet. In the UI, creating the trading pool is called creating a market.

To practise without a wallet, run bun run app:serve:trading and open http://localhost:4163/?simulate=1&genesis=yes&simScenario=deployed#/create-market. That simulator scenario has one SecurityPool, at 0x4Ea1aF33973aBC2f51b8AEA6aAAD041bCb88d779, and no trading pool; the screenshots below come from it. For a live network, follow Configure the Trading UI, and if the UI opens the deployment screen, complete Deploy the Trading contracts first. Fund the wallet with the deposit plus gas.

Open a SecurityPool without a market

  1. Select the Create tab and paste the SecurityPool address into Search security pools. In the simulator, use the address above; on a live network, copy it from Statoblast.
  2. Select Open security pool. The form opens with the badge MARKET NOT CREATED and Create market selected, and the SecurityPool is saved as a favorite.

The next section continues from this form. To check the SecurityPool first, select Create again: the list shows your favorite SecurityPools in the selected universe that have no trading market yet, and Create market returns you to the form.

A security pool card on the Create market page for Will this resolve?, closing in 364 days, with Create market and Details buttons.
Pools without a market. Create market reopens the form; Details opens the details page.

The details page tells you whether the SecurityPool can take a market. An enabled Create market button means it can, and selecting it returns you to the form. When it cannot, the button is disabled and names the reason, such as Question ended. This market can no longer be created. Minting capacity shows the collateral already minted against the SecurityPool's ceiling (used / ceiling); your deposit must fit in the difference.

The security pool details page showing question end, security pool state Operational, universe not forked, minting capacity 1 of 10 ETH, and a Create market button.
An eligible SecurityPool. The SecurityPool is operational, its universe has not forked, and it has capacity for new collateral.

Create and seed the trading pool

  1. Enter 0.01 in Amount and 70 in Yes price if not Invalid.
  2. Read the estimate: You provide 0.01 ETH, You receive ≈ LP tokens, about 0.0089 Invalid after the minting fee, and the Yes shares the trading pool did not need.
  3. Select Create market and add liquidity and confirm the one transaction that creates and seeds the trading pool. It reverts if it would mint fewer LP tokens than the estimate allows after your slippage tolerance, which you set under Settings.
The Liquidity panel of the Create market page, marked Market not created, with Create market selected, 0.01 ETH and a 70% conditional Yes price entered, and an estimate of 0.0037 LP, 0.0089 Invalid, and 0.0051 Yes, above an enabled Create market and add liquidity button.
Seeding at a 70% conditional Yes price. The LP tokens represent only the Yes and No left in the trading pool; the Invalid and spare Yes return to your wallet.

Check the result

Open the Markets tab. The market is listed with the badge TRADING OPEN and a conditional price of 70% Yes. Then open Portfolio: the market shows your LP tokens, your Invalid, and the spare Yes as separate holdings.

The Portfolio page with one market card listing 1.005 Yes, 1 No, 1.0088 Invalid, and 0.0037 LP, each outcome balance with its payout if the question resolves to that outcome.
Portfolio after seeding. The new LP tokens and spare outcomes appear alongside the simulation wallet’s existing complete set. Fees reduce the amount minted from the 0.01 ETH deposit.

At a 70% conditional Yes price, the trading pool holds roughly 30 Yes for every 70 No. The No reserve is the larger one because in a constant-product market the opposite reserve sets the price; Conditional pricing explains why.

Next: make your first trade against the trading pool you just created.