Tutorial
Your first Trading market
You will finish with an initialized YES/NO pair, LP tokens, and separately held INVALID shares in your wallet.
Before you start
Build and open the standalone Trading UI on a supported network by following Configure the Trading UI. If the network's deterministic trading contracts are missing, the UI shows the deployment screen; complete Deploy the Trading contracts first. Fund a wallet on that network with enough ETH for the initial deposit and gas.
You also need a SecurityPool that can still be initialized: operational, unresolved, not awaiting fork continuation, with a question that has not ended and a universe that has not forked. The UI checks this for you, as step 4 shows. The pool must also have a current valid REP price and enough minting capacity for the collateral your deposit creates; the Minting capacity field on its details shows used and ceiling ETH.
Initialize the pair
- Open the live UI (no
?simulate=1) and connect the wallet. The header shows your ETH and REP balances. - Select the Create new market tab. The Security Pools list shows the pools in the selected universe that have no trading market yet.
- Find the pool you want and select Details. Verify that the full address is the branch you intend.
- Check eligibility from the action button. Deploy trading pool means you can continue. A disabled button names the reason you cannot, such as Question ended, Pool inactive, Awaiting fork continuation, or Universe forked; if you see one, choose another pool.
- Select Deploy trading pool. The create-market form opens with the badge Pair not created and Pair reading Not deployed.
- In the Initialize / Add / Remove switch, select Initialize.
- Enter an ETH amount and a Conditional YES price above 0% and below 100%. One transaction will create the pair and seed it.
- Select Simulate liquidity transaction. The router simulation shows the complete-set shares created, YES and NO deposited, unused directional shares returned, INVALID retained, and expected LP tokens. Confirm the reserve direction matches the odds you intended. Simulation estimates the result at the current block. The rate can change before execution; the transaction reverts if it would mint fewer than your specified minimum LP tokens. If the simulation reports a stale price or insufficient capacity, do not submit; wait for a valid price and free capacity, or reduce the deposit.
- Select Submit liquidity transaction and confirm it in the wallet. The client checks the account and network and simulates the transaction again at the latest block before submitting; if it stops, follow the on-screen message and simulate again.
- After confirmation, open the Market tab and select the pool. Its badge reads Trading open, the Pair field shows an address, and the Conditional YES / NO bar shows the price you seeded (70% YES for the example below).
- Open Portfolio and select the same pool. Your new LP balance and the returned INVALID balance are listed.
What you now hold
For a 70% Conditional YES price, the initialized reserves are roughly 30 YES to 70 NO. The NO reserve is the larger one because in a constant-product pair the opposite reserve sets the spot price; Conditional pricing explains the apparent reversal. Your LP tokens represent only the deposited YES and NO. The INVALID shares and any unused directional shares stay in your wallet as separate balances.
Next: make your first trade against the pair you just created.