Docs/Getting started/Create a price market
Create a price market
Connect a wallet, select an authenticated Uniswap V2, V3, or V4 pool, and create a spot-price market.
Inputs#
Chain
Choose Base or Robinhood Chain. The interface authenticates the pool and deploys the market on that selected network.
Pool and pair
Select an authenticated Uniswap V2, V3, or V4 pool, then choose which token is priced in the other.
Condition and mode
Enter a comma- or dot-decimal price, select Below or At least, then choose Before deadline or At deadline.
Deadline
Before deadline markets may resolve YES through the deadline. At deadline markets resolve YES or NO from the first valid deadline-window read.
Resolver selection#
The selected pool version determines which verified resolver implementation the market uses.
| Pool | Verified resolver | Authenticated by |
|---|---|---|
| Uniswap V2 | UniswapV2SpotPriceState | Canonical V2 factory and pair lookup |
| Uniswap V3 | UniswapV3SpotPriceState | Canonical V3 factory and pool lookup |
| Uniswap V4 | UniswapV4SpotPriceState | Canonical PoolManager, StateView, and complete PoolKey |
Transaction result#
Before creation, the interface reads defaultEconomics() and approves the exact configured creation bond. The review shows the current bond, creator refund, resolver bounty, taker-fee coefficient, and maker rebate before either transaction is signed.
The factory clones the selected resolver, initializes it, deploys one StateMarket, and creates its YES and NO outcome tokens. The market permanently records its resolver, deadline, resolution mode, collateral, creator, and economics.