# Swap

With Mangrove’s swap page, you can swap tokens quickly and seamlessly. This feature allows you to execute market orders with ease, ensuring that you get the best available price without the hassle of complicated configurations.

#### **Step 1: Connect Your Wallet**

Click the **"Connect Wallet"** button at the bottom of the swap interface. This will open a pop-up for selecting and authorizing your wallet, allowing it to interact with Mangrove’s DApp on the chosen network.

**Disconnecting Your Wallet**: To disconnect your wallet, click on your wallet address in the top right corner. This will bring up a small pop-up with options to **Copy Address** and **Disconnect**. Click **Disconnect** to securely log out your wallet from the DApp.

<figure><img src="https://3197749937-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdT1ftsp-ASVL0f7MSf%2Fuploads%2FUGnJ1G6o9qWg3GEQWT2R%2FFrame%202.jpg?alt=media&#x26;token=63ca0c59-f6bb-4bc8-ac7b-28fabdfebf1a" alt=""><figcaption></figcaption></figure>

**Step 2: Select the Network**

At the top right corner of the swap interface, you’ll find the **Network Selection** dropdown, located just beside your wallet address. Click this dropdown to choose the appropriate blockchain network for your transaction, such as **Arbitrum One** or **Blast**. Selecting the correct network is essential, as it determines the available tokens and fees for your transaction.

**Note**: You can switch networks at any time by using this dropdown. If you need to change the network during the process, just click the **Network Selection** button and choose a different network, but be aware that doing so may reset your token selections.

<figure><img src="https://3197749937-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdT1ftsp-ASVL0f7MSf%2Fuploads%2FGsb4JC3F75vXO7zs1ryD%2FFrame%203.jpg?alt=media&#x26;token=eaa3fb6f-72b3-4247-b63d-bdf9f5ac6d5b" alt=""><figcaption></figcaption></figure>

#### **Step 3: Select Tokens for Swapping**

* With your wallet connected and network set, proceed with choosing the tokens for the swap.
* **Sell** and **Buy Sections**: The swap interface is divided into two main sections:
  * **Sell**: The token you’re offering in the swap.
  * **Buy**: The token you’ll receive in exchange.

1. **Token Selection**: Click the dropdown next to each token icon to select the token type. The available options may vary depending on the selected network.
2. **Enter Amount**:
   * **Sell Amount**: Enter the amount of the token you want to swap in the **Sell** field. An equivalent USD value is displayed below for reference.
   * **Buy Amount**: After entering the sell amount, the buy amount will auto-calculate based on the current market rate.

If you wish to reverse the **Sell** and **Buy** tokens, you can click **Swap Direction** button (↔) between the Sell and Buy sections to reverse the tokens and quickly switch the trade direction. This will instantly switch the tokens, making the **Buy** token the **Sell** token, and vice versa, without needing to re-enter amounts.

**Note**: If the swap amount exceeds your balance, an **"Insufficient Balance"** message will appear. Make sure you have enough tokens to proceed.

#### **Step 4: Set Slippage Tolerance**

This controls the maximum price variation you’re willing to accept for the trade.

* **Available Options**: Choose from 0.1%, 0.5%, 1%, or set a **custom percentage**.
* **Use Case**: A lower tolerance limits price variation but may cause failed transactions if prices move. Higher tolerance increases the success rate but allows for more price fluctuation.

<figure><img src="https://3197749937-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdT1ftsp-ASVL0f7MSf%2Fuploads%2FWFM4SICg4PsSzSRE5u2T%2FFrame%204.jpg?alt=media&#x26;token=93c54d7d-66b4-4605-969f-47ca674e816e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3197749937-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdT1ftsp-ASVL0f7MSf%2Fuploads%2FOWERAkaZkEQhdRqTKuFi%2FFrame%205.jpg?alt=media&#x26;token=5484b9ed-a6ab-442f-9db3-ef15db905526" alt=""><figcaption></figcaption></figure>

#### **Step 5: Confirm Swap Details**

* Double-check all details, including token selections, amounts, and slippage tolerance.

#### **Step 6: Execute the Swap**

1. **Swap Button**: When ready, click the **"Swap"** button.
2. **Wallet Confirmation**: Approve the transaction in your connected wallet, including any gas fees required by the network.

#### **Additional Interface Elements**

**Network and Account Information**: Located in the top right corner, this area shows both your network and wallet address. You can switch networks or wallet anytime by using these buttons.
