> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kaleidoswap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Asset Swaps

> Step-by-step instructions for performing an asset swap in the KaleidoSwap Desktop App

Asset swaps let you exchange one asset for another through the KaleidoSwap platform. The desktop app uses **atomic swaps** — both sides of the trade execute simultaneously, so neither party can cheat.

## Prerequisites

Before you can swap, make sure you have:

1. **A funded wallet** — You need a balance of the asset you want to swap. See [Deposits](/desktop-app/wallet/deposits).
2. **An open channel** — The channel must have sufficient capacity for the swap amount, and it must include the RGB asset you want to trade. See [Opening Channels](/desktop-app/channels/opening-channel) or [Buy a Channel](/desktop-app/channels/order-new-channel).

## Performing an Asset Swap

<Steps>
  <Step title="Navigate to Trade">
    Click on the **"Trade"** tab in the left sidebar. Select the **"Market Maker"** option to start.
  </Step>

  <Step title="Select assets">
    Choose the asset you have (e.g. BTC) and the asset you want to receive (e.g. USDT).
  </Step>

  <Step title="Enter amount">
    Specify the amount of the asset you wish to swap. The app will show you the estimated amount you'll receive based on the current exchange rate.
  </Step>

  <Step title="Review and confirm">
    Check the exchange rate and any fees. Click **"Swap"** to execute the transaction.
  </Step>

  <Step title="Wait for confirmation">
    The swap executes atomically over the Lightning Network. Once complete, you'll see a success confirmation.
  </Step>
</Steps>

<img src="https://mintcdn.com/kaleidoswap/ROdme41wKIrkqjXl/images/desktop-app/19_trading_page.png?fit=max&auto=format&n=ROdme41wKIrkqjXl&q=85&s=491508c72ba88759b2d15a0bcb8dc7da" alt="Trading Page" width="2302" height="1276" data-path="images/desktop-app/19_trading_page.png" />

## Supported Trading Pairs

| Pair           | Description                      |
| -------------- | -------------------------------- |
| **BTC / USDT** | Bitcoin to Tether USD (RGB NIA)  |
| **BTC / XAUT** | Bitcoin to Tether Gold (RGB NIA) |

Additional pairs may be available depending on your connected LSP and market maker.

## Swap History

View your past swaps in the **"History"** tab for record-keeping and reconciliation.

## Troubleshooting

<AccordionGroup>
  <Accordion title="Swap fails with insufficient balance">
    Ensure you have enough balance in the correct channel. On-chain balance alone is not sufficient — the asset must be allocated to a Lightning channel with the trading peer.
  </Accordion>

  <Accordion title="No trading pairs available">
    Check that your node is connected to a peer that supports the asset pair. You may need to open a channel with an LSP that provides market-making services.
  </Accordion>

  <Accordion title="Swap is stuck or pending">
    Atomic swaps on Lightning should settle in seconds. If a swap appears stuck, check your node's connection status in Settings. Restarting the app may help if the connection was interrupted.
  </Accordion>
</AccordionGroup>
