Prophecy Docs
AboutTrade Now
  • Welcome to Prophecy
  • About Prophecy
  • What is AMM-Based Market?
  • Advantages of AMM-Based Markets in Prophecy
  • Buy Trades
  • Sell Trades
  • Resolve Market
  • Claim Market
  • Create Market
  • Getting Started
    • Quickstart
    • Publish your docs
  • Web & Mobile Apps
    • Sign Up for Prophecy.bet
    • Wallet Section Overview
    • Market Creation
    • Trade Tokens
    • User Market
    • Market Positions
    • Referral Reward
    • User Profile
Powered by GitBook
On this page

What is AMM-Based Market?

An Automated Market Maker (AMM) is a mechanism that replaces traditional order books with a mathematical formula to facilitate trading and price discovery.

AMM in Prophecy

In Prophecy, AMM-based markets are utilised to:

  • Provide Continuous Liquidity: Traders can buy or sell shares at any time without relying on counterparties.

  • Enable Efficient Price Discovery: Prices are dynamically adjusted based on the AMM formula and the ratio of assets in the liquidity pool.

How It Works

  1. Liquidity Pools:

  • Each market is backed by a liquidity pool containing two assets: tokens representing the possible outcomes (e.g., YES/NO).

  • Users provide liquidity to these pools and earn fees from trades.

  1. Pricing Mechanism:

  • The price of an outcome token is determined by the constant product formula: x⋅y=k

In a trading pool, as traders buy or sell tokens, the ratio of tokens adjusts, impacting the price. Here:

  • k: represents the pool's total liquidity (a constant value).

  • y: is the quantity of token B (e.g., NO tokens).

  • x: is the quantity of token A (e.g., YES tokens).

3. Market Creation:

  • Anyone can create a market by providing an initial liquidity deposit( SOL and USDC) and defining the event’s outcomes.

PreviousAbout ProphecyNextAdvantages of AMM-Based Markets in Prophecy

Last updated 5 months ago