> For the complete documentation index, see [llms.txt](https://help.railway.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.railway.xyz/integrated-dapps/swaps.md).

# Swaps

*Railway supports swapping from both 0x and 0zk addresses through Railway DEX. Easily swap any ERC-20 through the* [*0x API*](https://www.0x.org/) *(the same DEX aggregation tool powering Matcha.xyz). Learn more about Railway DEX* [*here*](https://docs.railgun.org/wiki/learn/railway-dex-swaps)*.*

### Swaps&#x20;

1. From your Public Wallet, **click "dApps" and then "Railway DEX"**.
2. **Select the tokens you want to swap**. *You can import any token if it's not in the current list by pasting its contract address into the token selector.* **Click "Approve"** if this is the first time you're swapping the token.

<figure><img src="/files/hjafQxN7weFUPqD0YkTn" alt="" width="375"><figcaption></figcaption></figure>

3. To modify swap settings like slippage, **click the "Settings" icon**.
4. By default, slippage is set to 1%. **Drag the slider to set it anywhere between 0.1%-20%. Click "Save" to set slippage.**

<figure><img src="/files/UU10lGl0XnYYNpya7kqP" alt=""><figcaption></figcaption></figure>

5. **Click "Review order" and enter your password to continue. Select** [**Public Broadcaster**](/transactions/public-broadcasting.md) **or** [**Self-Broadcast**](/transactions/self-signing.md) **then click "Generate Proof"**

<figure><img src="/files/d1DsGfGwk3GLOrLhzxO9" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/WV85u2NBRYyidCWkF3Ua" alt=""><figcaption></figcaption></figure>

5. **Click "Swap" to submit the transaction**. You can also set a custom fee by **clicking the "Network Fee" box**.

<figure><img src="/files/ThvgsV57zSbYXVl1MXHG" alt=""><figcaption></figcaption></figure>

4. You will receive a confirmation of the swap. View the details of the transaction from the **"Activity" tab or a block explorer**.

<figure><img src="/files/Zacx0zC3wcdgUA66RyI8" alt=""><figcaption></figcaption></figure>
