# Swap

## What is Token Swapping?

Token swapping is the process of exchanging one cryptocurrency for another instantly. On Tapp Exchange, you can trade APT for USDC (or any supported token pair) directly from your wallet without needing to find a trading partner.

**Simple Example:**

* You have: 10 APT tokens
* You want: USDC tokens
* Tapp automatically calculates: 10 APT = \~100 USDC (if APT = $10)
* The swap happens instantly through liquidity pools

## What You Need Before Swapping

**📱 Compatible Aptos Wallet**

* **Petra Wallet** (recommended)
* **Aptos Connect**
* **Other supported wallets** (visible when connecting)

**💰 Tokens Ready**

* **APT tokens** to swap (the amount you want to trade)
* **Extra APT for gas fees** (small amount for transaction costs)

**🌐 Network Connection**

* Stable internet connection
* Access to Tapp Exchange website

**💡 Quick Check:**

* ✅ Wallet installed and set up
* ✅ APT tokens in wallet
* ✅ Small amount extra APT for fees
* ✅ Connected to Aptos mainnet

## Step-by-Step Swapping Process

**Step 1: Connect Your Wallet**

1. **Visit Tapp Exchange** website
2. **Click "Connect Wallet"** (usually top-right corner)
3. **Select your wallet** from the popup list
4. **Approve connection** in your wallet app
5. **Verify connection** - you should see your wallet address

**Step 2: Navigate to Swap Interface**

1. **Look for "Swap"** under **“Trade”** in the main navigation menu
2. **Click "Swap"** to open the trading interface
3. **You'll see the swap form** with two token selection boxes

![image 1](https://cdn.prod.tapp-dex.devucc.name/gitbook/swap1.png)

**Step 3: Select Your Tokens**

**From Token (What you're selling):**

1. **Click the dropdown** in the "From" section
2. **Select "APT"** from the token list
3. **Confirm APT is selected** and shows your balance

**To Token (What you're buying):**

1. **Click the dropdown** in the "To" section
2. **Search for "USDC"** or scroll to find it
3. **Select "USDC"** from the list
4. **Confirm the pair shows** APT → USDC

![image 1](https://cdn.prod.tapp-dex.devucc.name/gitbook/swap7.png)

**Step 4: Enter Swap Amount**

**Choose Your Amount:**

* **Enter APT amount** you want to swap (e.g., 5 APT)
* **Or enter USDC amount** you want to receive (e.g., 50 USDC)
* **Platform auto-calculates** the other amount

<figure><img src="https://cdn.prod.tapp-dex.devucc.name/gitbook/swap4.png" alt="" width="50%"><figcaption></figcaption></figure>

**You'll See:**

* Current exchange rate within the image (e.g., 1 APT = \~5.35 USDC)
* Estimated USDC you'll receive
* Price impact percentage
* Estimated gas fees

**Step 5: Set Slippage Tolerance (Optional)**

**What is Slippage?** Price changes between when you submit and when a transaction executes.

**Slippage Settings:**

* **Auto:** Automatically set it based on the current market conditions
* **Custom:** Set your own percentage

**How to Adjust:**

1. **Click settings icon** (gear symbol)
2. **Select auto or manually input slippage tolerance**
3. **Save settings**

<figure><img src="https://cdn.prod.tapp-dex.devucc.name/gitbook/swap5.png" alt="" width="50%"><figcaption></figcaption></figure>

**Step 6: Review Swap Details**

**Important Information Displayed:**

**📊 Exchange Rate:**

* Current price: 1 APT = \~ 5.2 USDC

**⛽ Transaction Costs:**

* Gas fee: \~0.001 APT
* Platform fee: Depending on the pools, but averagely 0.05% fees
* Total cost breakdown

**⏰ Estimated Time:**

* Usually completes in 5-10 seconds
* Network congestion may affect timing

<figure><img src="https://cdn.prod.tapp-dex.devucc.name/gitbook/swap6.png" alt="" width="50%"><figcaption></figcaption></figure>

**Step 7: Execute the Swap**

1. **Click "Swap" button**
2. **Review popup summary:** APT amount to pay USDC amount to receive Total fees Final exchange rate
3. **Click "Confirm Swap"**
4. **Wallet popup appears** - review transaction
5. **Click "Approve"** in your wallet
6. **Wait for confirmation** (usually 5-10 seconds)

**🎉 Success!** Your USDC tokens are now in your wallet!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tapp-exchange.gitbook.io/tapp-exchange/user-guides/trade/swap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
