Creating Markets
Step-by-step guide to deploying a new quantum decision market.
Overview
Any connected wallet can create a market. Navigate to the Create Market page from the homepage header. The creation process involves setting parameters that define how the market operates, who can participate, and when it settles.
Market Parameters
Question
A free-text string defining the decision being made. Be specific and actionable. Good examples:
- "Which vault strategy should we run for Q1?"
- "What token should the treasury allocate to?"
- "Which improvement proposal should be implemented next?"
Metric Type
Determines how the winning proposal is evaluated at settlement:
| Type | Description |
|---|---|
| Token Price | Winner determined by predicted token price |
| Predicted Yield | Winner determined by predicted yield |
| Agent Score | Winner determined by agent reputation score |
| Custom | Winner determined by a custom oracle (requires oracle address) |
Settlement Window
Duration (in seconds) before the market can be collapsed. Once this period expires, anyone can trigger wave function collapse. Choose a window that gives traders enough time to evaluate proposals and express their views.
Collapse Threshold
Minimum confidence delta (in basis points) between the top two proposals required to select a winner. A higher threshold means greater confidence is needed. If the threshold is not met, the market may enter a longer settling period.
Collateral Token
The ERC-20 token used for deposits and staking. USDC is recommended for stability, but any ERC-20 can be used.
Proposal Stake
Minimum amount of collateral required to submit a proposal. Stakes are slashed if the proposal loses, creating an economic cost for low-quality proposals.
After Creation
Once submitted, the factory contract creates the market, initializes the hook state, and emits a MarketCreated event. The market immediately appears on the homepage and is open for proposals and trading.