# Multi-chain swap

Two chains, one tap. The Ayebot swap engine handles **Solana** and **BNB Smart Chain** out of the same wallet, picks the cheapest route automatically, and shows you the quote before you confirm.

## How it works

1. **You pick the token.** Paste a contract address or pick from the trending list.
2. **You set the amount.** In SOL/BNB, in USD, or as a percentage of your wallet.
3. **The bot quotes the trade.** It scans the available liquidity across every DEX on the chain and routes your order through the cheapest path.
4. **You confirm.** The swap goes through with MEV protection (anti-sandwich + slippage cap) baked in.
5. **You get a notification** when the fill lands, with the actual price and the gas spent.

## Why two chains, one wallet

The wallet you generate inside Ayebot works on both Solana and BSC without any extra setup. There's no separate "Solana wallet" and "BSC wallet" to manage — just one balance per chain, visible from the same menu.

To switch chain you just pick a different network in the swap menu. The bot handles the rest: connecting to the right RPC, finding liquidity, routing through the right aggregator.

## Best-price routing

Every swap is quoted across all live DEX liquidity on the target chain. You see the **net amount you'll receive** after fees and slippage — not just the headline price. If a route is unhealthy (too thin, too expensive), the bot tells you and suggests a smaller size.

## MEV protection on every trade

Sandwich attacks and front-runners are how bad actors skim value from public mempool swaps. Ayebot ships protection by default:

* **Anti-sandwich routing** — orders prefer private mempools or protected relays where available.
* **Slippage cap enforcement** — the swap reverts if the actual fill would breach your tolerance.
* **Quote freshness check** — stale quotes are refused; you're always trading against the most recent liquidity snapshot.

You don't toggle these on. They're always on.

## Setting slippage

Default slippage is **1%**, which works for most liquid tokens. For thinly-traded memecoins, you may need to raise it to 3-5%. The bot warns you whenever a token's expected slippage is high and asks for explicit confirmation before sending the order.

{% hint style="warning" %}
**Higher slippage = more accepted price drift.** A 10% slippage means you might pay 10% above quote. Set it as low as the trade will tolerate, not the other way around.
{% endhint %}

## Common commands

```
/buy           Open the buy wizard
/sell          Open the sell wizard for one of your holdings
/balance       See SOL + BSC balances and current positions
/quote <token> Quick quote without placing an order
```

## Pricing

Trading fees are tiered by your 30-day volume. Bronze pays 1.00%, Diamond pays 0.25%. Network gas (SOL or BNB) is on top and goes to the chain — not to Ayebot. See [Fees & tiers](/earnings/fees-and-tiers.md) for the full breakdown.

## FAQ

**Which chains can I trade on?**\
Solana and BNB Smart Chain today. The same wallet works on both — no setup per chain.

**Do I pay gas on top of the fee?**\
Yes. On-chain gas (SOL on Solana, BNB on BSC) is paid by you and shown in the quote before you confirm.

**How does the bot pick the best price?**\
It scans liquidity on every available DEX in real time and routes through the cheapest path. The quote you see is the one you get.

**Can I swap between SOL and BNB directly?**\
That's a cross-chain operation — see [Bridge](/trading/bridge.md).

## What to read next

* [Limit orders](/trading/limit-orders.md) — set the price you want and walk away
* [DCA](/trading/dca.md) — recurring buys instead of single-shot
* [Bridge](/trading/bridge.md) — move funds between Solana and BSC
* [Fees & tiers](/earnings/fees-and-tiers.md) — how trading fees scale


---

# 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://docs.ayebot.io/trading/multichain-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.
