# Swapping

**How it works**

* Hinkal checks several DEX routers, picks the best quote, and executes through the relayer.
* Only Hinkal smart contract address appears on-chain. Your balance and history remain private.

**Step-by-step**

1. Click **Swap** (from Private or Public account).
2. Select the token pair.
3. Enter the amount in **You Pay** (Shortcuts available: 50% / Max).
4. (Optional) Pick a [**Gas Token**](https://hinkal-team.gitbook.io/hinkal/hinkal-wallet/getting-started/gas-tokens) — ETH, USDC, USDT, DAI.
5. (Optional) Change [**Provider**](#choosing-a-provider) — Uniswap, Odos, 1Inch.
6. Click **Swap** to execute

{% tabs %}
{% tab title="Step 1 - Click swap" %}

<figure><img src="https://400260740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUoGzqKrjqkoPsx76Zeb7%2Fuploads%2FBhAmgGGcxu8medfLyWxq%2Fimage.png?alt=media&#x26;token=127c21a5-9293-4538-bd8c-99ae3e14e805" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Step 2 - Select tokens" %}

<figure><img src="https://400260740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUoGzqKrjqkoPsx76Zeb7%2Fuploads%2F0JLAUtcyLOCzR7oLP6Fv%2Fimage.png?alt=media&#x26;token=8f3920f2-da3c-408f-8bfb-e8f75b85b68c" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Step 3 - Enter amounts and execute" %}

<figure><img src="https://400260740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUoGzqKrjqkoPsx76Zeb7%2Fuploads%2FeK6LRtRWnaXmQxzLkJ58%2Fimage.png?alt=media&#x26;token=2410d918-d627-4d83-9aa3-13620a623eaa" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### Choosing a Provider

*Hinkal finds the best rates by checking different providers and choosing the most efficient one. If you prefer, you can still pick a provider yourself.*

**What changes**

* Route is executed through the provider you choose (e.g., Uniswap, 1inch, Odos).
* Quoted output may differ from the auto-selected best rate.

**Step-by-step**

1. After you fill in the swap fields, click the **Provider** selector.
2. A list shows each provider with its current output amount.
3. Click the provider you prefer; the swap updates instantly.
4. Review and press **Swap**.

{% tabs %}
{% tab title="Step 1 - Click provider selector" %}

<figure><img src="https://400260740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUoGzqKrjqkoPsx76Zeb7%2Fuploads%2F8APMaZsKyOdXnzZbSKNI%2Fimage.png?alt=media&#x26;token=a2a72a28-41b5-4eb3-a2f6-7286cbd65636" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Step 2 - Select provider" %}

<figure><img src="https://400260740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUoGzqKrjqkoPsx76Zeb7%2Fuploads%2Fc341cq7EAy7FufVnygL9%2Fimage.png?alt=media&#x26;token=58623e02-368a-4b73-afb0-21671badb2ca" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### Adjusting Slippage Tolerance

*Slippage tolerance is the maximum price difference you're willing to accept.*

**How it works**

* If the market moves beyond your tolerance before confirmation, the transaction reverts, and you keep your tokens.
* Lower slippage = safer price, higher chance of revert.

**Step-by-step**

1. On the swap page, tap the **gear icon** beside *Slippage*.
2. Leave **Auto Slippage** on (green) **or** toggle it off to set manually.
3. Choose a preset (**0.5 % / 1 % / 2 %**) or tap **Custom and type your own value.**
4. Tap **Close -** the selected percentage now appears next to *Slippage*.
5. Press **Swap**.

> Tip: Values below 0.5 % often cause failed transactions, especially on volatile pairs.

{% tabs %}
{% tab title="Step 1 - Press gear icon" %}

<figure><img src="https://400260740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUoGzqKrjqkoPsx76Zeb7%2Fuploads%2Fj3hYmw3UJf2DhOt6gPcp%2Fimage.png?alt=media&#x26;token=9e5b5cf0-b9ff-4e8e-b40a-921151b4dd4a" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Step 2 - Auto slippage" %}

<figure><img src="https://400260740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUoGzqKrjqkoPsx76Zeb7%2Fuploads%2FhAbmmj4fK3pnsxJ8kgKw%2Fimage.png?alt=media&#x26;token=398bed75-5edb-4a6b-8aed-436726dc40e1" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Step 3- Set custom" %}

<figure><img src="https://400260740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUoGzqKrjqkoPsx76Zeb7%2Fuploads%2FK1IezecpHvUe4L9W74Dl%2Fimage.png?alt=media&#x26;token=5dd8b596-03f5-4162-8255-dd8fdf8c52a1" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}
