# How to Swap Tokens

Swapping tokens on Byreal takes just a few clicks. Byreal automatically selects the best price and execution path through multiple swap modes, including its native CLMM pools, off-chain RFQ quotes, and third-party aggregators like Raydium, Orca, and Meteora.

## Step-by-Step: Your First Swap

{% stepper %}
{% step %}

### Connect your wallet

Visit [Byreal.io](https://byreal.iohttps/byreal.io/) and connect your Solana wallet (Phantom, Solflare, Backpack, or any compatible wallet).
{% endstep %}

{% step %}

### Select your tokens

Choose the token you want to sell (input) and the token you want to receive (output). You can search by name, ticker, or paste a token's contract (mint) address.
{% endstep %}

{% step %}

### Enter the amount

Type the amount you want to buy or sell. Byreal will instantly calculate the optimal route and display the expected output amount.
{% endstep %}

{% step %}

### Review the trade details

Before confirming, review the expected output, network fee, price impact, and slippage tolerance. These are displayed clearly in the swap interface.
{% endstep %}

{% step %}

### Confirm and swap

Click Buy or Sell and approve the transaction in your wallet. Once confirmed, the transaction is submitted to the Solana network and you'll see a notification when it completes onchain.
{% endstep %}
{% endstepper %}

## How Byreal Finds the Best Price

Byreal's dual-execution engine evaluates multiple liquidity sources in real time and routes your trade through the optimal path:

* **Onchain execution (AMM):** Trades route through Byreal's native CLMM pools and aggregated external AMMs (Raydium, Orca, Meteora). You pay a pool-specific swap fee (e.g., 0.01%, 0.10%, 0.20%) plus a small Solana network fee.
* **Off-chain execution (RFQ):** For supported pairs and trade sizes, Byreal connects directly with off-chain market makers and CEX order books. RFQ quotes offer zero price impact, zero slippage, and no gas fees so you get a firm, guaranteed price.
* **External aggregation:** Byreal also sources prices from leading Solana AMMs to ensure the deepest possible liquidity and best available rate.
