> For the complete documentation index, see [llms.txt](https://docs.starkdefi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.starkdefi.com/solutions/how-to-swap.md).

# Swap

## How to swap

Token swaps are a simple way to trade tokens on StarkDeFi's platform. Users can swap tokens from a growing list of crypto assets across the Starknet ecosystem.

It's as simple as this:

{% embed url="<https://youtu.be/ZB-N00NUDZo>" %}
How to swap
{% endembed %}

**Step 1**: Selects an input token (ETH in this case)

<div align="left"><figure><img src="/files/UhihwOiilMOOlMeXWKmR" alt=""><figcaption><p>selecting an input token</p></figcaption></figure> <figure><img src="/files/zwu7QQsgtX4CIiAFR36R" alt=""><figcaption><p>Token list</p></figcaption></figure></div>

**Step 2**: Selects an output token (USDC in this case)

<div align="left"><figure><img src="/files/80ijoDnQ4cmj2bQNYcaa" alt=""><figcaption><p>selecting an output token</p></figcaption></figure></div>

**Step 3**: Enter amount of token you want to swap (ETH in this case)

<div align="left"><figure><img src="/files/ykGJYp0SWmWTc6JGf4R1" alt=""><figcaption><p>choosing an input token amount</p></figcaption></figure></div>

**Step 4**: The Starknet protocol calculates the number of tokens you'll receive as output.

{% hint style="info" %}
Our AMM protocol will give an instant feedback on rates and slippage.
{% endhint %}

**Step 5**:  Clicking  "Swap" to proceed, then click "Confirm Swap" to execute.

<div align="left"><figure><img src="/files/NkgX3F9OvuitSMuMdpQK" alt=""><figcaption><p>confirm swap</p></figcaption></figure> <figure><img src="/files/gqd2L1oZPMAnQsPzM4Ki" alt=""><figcaption><p>confirming swap</p></figcaption></figure></div>

**All set**: You will receive your tokens once the transaction is confirmed on L2<br>

<div><figure><img src="/files/3pSfgoK4W9zGnXLVcgAD" alt=""><figcaption><p>swap submitted</p></figcaption></figure> <figure><img src="/files/I8kvgAJp2T32itUgNgFP" alt=""><figcaption><p>swap confirm on L2</p></figcaption></figure></div>
