πŸ“’
Native Docs
  • 🦎About Native
    • πŸ—ΊοΈRoadmap
    • πŸ“žContact Us
    • πŸ”Security Audit
    • πŸ–ΌοΈBrand Assets
  • πŸŽ‰Campaigns
    • πŸ–ΌοΈOfficial NFTs
  • INTRODUCTION
    • πŸ”€Flexible Market Making
      • Pricing Models
        • On-chain Pricing
          • Constant Sum
          • Uniswap V2
        • Off-chain Pricing
          • Fixed Price
          • RFQ - Private Market Maker
    • πŸŽ’Self Custody
      • Externally Owned Account (EOA)
      • Hardware Wallet
      • Multi-signature Wallet
    • πŸ’ΉProject Owned DEX
  • GETTING STARTED
    • πŸš€Product Overview
    • πŸŽ“Tutorial
      • Accessing Native Portal
      • Creating A Private Pool
      • Adding Allowance
      • Creating A Public LP Pool
      • Adding LP Rewards
      • Getting Started with the Swap Widget
      • Changing Swap Widget Settings
    • πŸ™‹β€β™‚οΈFAQ
  • DEVLOPERS
    • 🧩Native V1
    • πŸ“±Widget
Powered by GitBook
On this page
  1. INTRODUCTION
  2. Flexible Market Making
  3. Pricing Models

On-chain Pricing

First made popular by Uniswap in 2018, on-chain pricing is used by automated market makers to decide on the price of an asset in a swap. In a nutshell, users are not trading against each other – instead, they are trading against the liquidity locked inside smart contracts called liquidity pools.

Preset mathematical equations are used to set relationships between the assets held in the liquidity pools. When large orders are placed in AMMs, a sizable amount of a token is removed or added to a pool. This causes discrepancies between the asset’s price in the pool and its market price at different exchanges, creating an arbitrage opportunity.

PreviousPricing ModelsNextConstant Sum

Last updated 2 years ago

πŸ”€