# Swap

{% hint style="info" %}
Raise slippage if your tokens have buy/sell tax.
{% endhint %}

{% hint style="warning" %}
The preview amount of output token is before-tax. The actual amount you received will be smaller if your tokens have sell/buy tax.
{% endhint %}

[IceCream Swap (https://icecreamswap.com/swap)](https://icecreamswap.com/swap), available on [multiple chains](https://wiki.icecreamswap.com/intro/multichain), allows you to trade one token for another on the same network *(e.g.*, CORE USDT -> CORE ICE).

## Use Swap

Follow the onscreen instruction when asked to "**Connect Wallet**" (Fig. 1a). Choose a wallet to connect (Fig. 1b). Once a network is connected, you are able to buy or sell by swapping tokens (Figure 1c).

<div><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2F0K23TjBJ46VC52DfHtRJ%2Fswap-not-connected.PNG?alt=media&#x26;token=c9ce54ff-692a-4a13-bae1-13fa82fa874f" alt="Fig. 1a Swap UI (wallet not connected)"> <img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2FSAXcBraZ9MZLG7Qs9QrH%2Fconnect-wallet.PNG?alt=media&#x26;token=c70f5b2d-df12-4b4c-9e49-5d3edb34a15e" alt="Fig. 1b Swap UI (connect wallet)"> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2F7kbF0WB1hJ8zbKCEEine%2Fswap-connected.PNG?alt=media&#x26;token=832ef1a2-8a98-4ac6-91f7-f0053f6d7add" alt=""><figcaption><p>Fig. 1c Swap UI (wallet connected to the Bitgert chain)</p></figcaption></figure></div>

Select the **input** token and **output** token from the drop-down menu such as BRISE and ICE in the following example (Fig. 2).&#x20;

Fill in the amount of input token, the amount of output token should be filled automatically based on market price. Note that this preview amount is before-tax. The actual amount you received will be smaller if your input and/or output token have sell/buy tax.

Click "**Swap**", then "**Confirm Swap**", and follow the onscreen instruction to complete the transaction in your wallet.

<div><figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2F0swZGAvDmEeaEF729ihA%2Fswap-ui.PNG?alt=media&#x26;token=ee011d3d-db3d-44ab-bef8-499932271629" alt=""><figcaption><p>Fig. 2a Swap UI</p></figcaption></figure> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2FciJE3NPaOpzEp9wRwq2L%2Fswap-confirm.PNG?alt=media&#x26;token=e7118368-c260-4f10-af55-23d0e1f5cf6b" alt=""><figcaption><p>Fig. 2b Confirm Swap</p></figcaption></figure></div>

The Swap interface has some nice little features. You can show/hide the price chart (Fig. 3a), copy a token's contract address or add it directly to your wallet (Fig. 3b).

<div><figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2FS5MfkPO1poCrSsjcRp4I%2Fswap-chart.PNG?alt=media&#x26;token=f279bb25-f9ce-4b32-b5c6-0a0f66905896" alt=""><figcaption><p>Fig. 3a Swap UI with chart panel</p></figcaption></figure> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2Fb4hA8Uwgz6HlXLhdywaM%2Fswap-add-token.PNG?alt=media&#x26;token=c2777f0a-1fbd-4c9c-a5be-a7cec8367259" alt=""><figcaption><p>Fig. 3b Add token right within Swap UI</p></figcaption></figure></div>

## Slippage

Slippage is the difference between the expected price of an order and the price when the order actually executes. Learn more via [this article](https://www.binance.com/en/support/faq/what-is-slippage-01f6dd67d54e4dca902914700818e739).

The default slippage 0.5% works in most time. But if your tokens have buy/sell tax, you need to set slippage above that.

<figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2Fo2wUbMylPXBuvlD8Y1nK%2Fswap-slippage.jpg?alt=media&#x26;token=f88e2756-9e26-4d38-9fdb-1b5ff9a13e44" alt=""><figcaption><p>Tweak slippage when necessary</p></figcaption></figure>
