LITEDEX Docs
HomeAppLDX TokenBrand Assets
English
English
  • Introduction
  • Security & Audits
  • Roadmap
  • Get Started
    • Wallet Introduction
    • How to make a Wallet
    • Approval Introduction
    • How to Add LDX Token
  • Products Guide
    • Exchange
      • Token Swaps
      • How to Trade
      • Liquidity Pools
      • How to Add & Remove Liquidity
    • Staking
      • How to use Staking
    • Yield Farming
      • How to use Yield Farming
    • Analytics (Info)
    • Lending
    • Borrowing
    • Non-Fungible Token (NFT)
    • Bridge
  • Guide Testnet
    • Mainnet & Testnet Network
    • Switch Network
    • Faucet Introduction
    • How to Claim Faucet
  • Tokenomics
    • LDX
      • Old Tokenomics
      • Current Tokenomics
  • Developers
    • Overview
    • Technical Reference
      • API
        • API Overview
        • Entities
        • Queries
      • Smart Contract
        • Exchange
          • Factory
          • Router
        • Staking
          • Locked Staking
          • Flexible Staking
    • Security Preventive
  • Facebook
  • Github
  • Telegram
  • Twitter
  • Instagram
  • Medium
Powered by GitBook
On this page

Was this helpful?

  1. Developers
  2. Technical Reference
  3. Smart Contract

Exchange

Token swaps in Litedex are a simple way to trade one BEP-20 token for another.

For end-users, swapping is intuitive: a user picks an input token and an output token. They specify an input amount, and the protocol calculates how much of the output token they’ll receive. They then execute the swap with one click, receiving the output token in their wallet immediately.

In this guide, we’ll look at what happens during a swap at the protocol level in order to gain a deeper understanding of how Uniswap works.

Swaps in Litedex are different from trades on traditional platforms. Litedex does not use an order book to represent liquidity or determine prices. Litedex uses an automated market maker mechanism to provide instant feedback on rates and slippage.

PreviousSmart ContractNextFactory

Last updated 2 years ago

Was this helpful?