# AUSD Exchange

A **DEX (Decentralized Exchange)** is a **Web3-based crypto trading platform** that allows users to **swap tokens directly with each other** — **without a central authority or intermediary** (like Binance or Coinbase).

It runs on **smart contracts** deployed on a blockchain (such as Ethereum, BNB Chain, or Polygon), ensuring that trades are **secure, transparent, and non-custodial** (you always control your wallet and funds).

<figure><img src="https://2638599675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4RmQwp3RSLkFCSHKNxvX%2Fuploads%2FCwK4z6gfgUalJYnjrPmw%2Fimage.png?alt=media&#x26;token=f3da1171-8f9a-4122-92a2-9cdb28d0f8a7" alt=""><figcaption></figcaption></figure>

***

#### 🔹 **Simple Definition**

> A DEX (Decentralized Exchange) is a blockchain-powered marketplace where users trade cryptocurrencies **peer-to-peer** using **smart contracts**, not a company.

***

#### ⚙️ **How a DEX Works**

1. **You connect your crypto wallet** (e.g., MetaMask, Trust Wallet).
2. **Select tokens to swap** (e.g., swap USDT → ETH).
3. **Smart contract** automatically finds or creates a liquidity pool.
4. **You confirm the transaction** → blockchain processes it.
5. **Tokens are exchanged directly** into your wallet.

✅ No sign-up\
✅ No KYC\
✅ You keep control of your private keys

***

<figure><img src="https://2638599675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4RmQwp3RSLkFCSHKNxvX%2Fuploads%2FaSTLKPZ6MjCzNykk2mWk%2Fimage.png?alt=media&#x26;token=81e7f201-e9da-495a-afe8-40cd9ded05a1" alt=""><figcaption></figcaption></figure>

#### 💧 **Liquidity Pools**

Most DEXs use a system called an **Automated Market Maker (AMM)** — instead of matching buyers and sellers like traditional exchanges.

* Users provide pairs of tokens (e.g., ETH + USDT) to create a **liquidity pool**.
* Traders swap tokens within that pool.
* Liquidity providers (LPs) earn **trading fees** as rewards.

***

#### 🏦 **Popular DEX Platforms**

| DEX               | Blockchain  | Core Token | Features                     |
| ----------------- | ----------- | ---------- | ---------------------------- |
| **Uniswap**       | Ethereum    | UNI        | AMM-based, very popular      |
| **PancakeSwap**   | BNB Chain   | CAKE       | Low fees, yield farming      |
| **SushiSwap**     | Multi-chain | SUSHI      | Liquidity mining, staking    |
| **Curve Finance** | Ethereum    | CRV        | Optimized for stablecoins    |
| **Balancer**      | Ethereum    | BAL        | Customizable liquidity pools |

***

#### 💡 **Key Advantages**

* 🔐 **Non-custodial:** You control your funds — no exchange wallet needed.
* 🌎 **Global access:** Anyone with a wallet can trade.
* 💰 **Earn fees:** Become a liquidity provider to earn passive income.
* ⚙️ **Transparent:** All transactions are recorded on-chain.

***

#### ⚠️ **Challenges**

* Gas fees (especially on Ethereum).
* Price slippage if liquidity is low.
* Risk of **smart contract exploits** or **impermanent loss** for LPs.
* Limited fiat (cash) on/off ramps.

***

#### 🔧 **Types of DEX**

1. **AMM (Automated Market Maker)** – e.g., Uniswap, PancakeSwap
2. **Order Book DEX** – e.g., dYdX, IDEX
3. **Aggregator DEX** – e.g., 1inch, Paraswap (finds best price across many DEXs)
