# How to IERC Swap

IERC Swap is a modular built on top of the ERC-20 protocol. It allows users to swap, provide liquidity, and earn inscriptions directly. Currently, the exchange only supports trading between $ETH and $ethi inscription pairs, additional trading pairs will be added soon.

**IERC Swap consists of:**

**Swap** - the trading interface for executing swaps on IERC Swap and locking inscriptions to the platform's custodial address.

**Pools** - the liquidity provider interface, where LPs can add liquidity to IERC-Swap pools.

**Transactions** - interface for users to view the past IERC-Swap interactions.&#x20;

### 1. Connect your wallet

Go to <https://app.ierc20.com/swap>. First, you need to connect to your wallet and switch to the Ethereum mainnet.

### 2. Click on the "Swap" tab at the bottom of the main page

<figure><img src="https://145503242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhgfSULx6VEo6eLaLSwM0%2Fuploads%2Fct2BmMPG49GP8vHsUkA9%2FFrame%201871880709.png?alt=media&#x26;token=a2664bb4-a549-4262-82a5-fec3c0d8ed04" alt="" width="375"><figcaption></figcaption></figure>

Enter the amount of $ethi you desire to swap.

<figure><img src="https://145503242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhgfSULx6VEo6eLaLSwM0%2Fuploads%2FdC2BNGhJk23ZN4oQPEYl%2F%E7%A1%AE%E8%AE%A4%E4%BA%A4%E6%98%93.png?alt=media&#x26;token=ff6d4445-a545-42be-a3cd-47ba2acd3630" alt="" width="206"><figcaption></figcaption></figure>

Check the "Slippage Tolerance" setting, the slippage tolerance is set at 0.5% by default. Adjust it if necessary to account for potential price changes during the transaction.

### 3. Approve and Comfirm to Swap

In order to swap on IERC-Swap, converting inscriptions to ERC20 tokens, you must first lock inscriptions to the platform's custodial address.&#x20;

<figure><img src="https://145503242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhgfSULx6VEo6eLaLSwM0%2Fuploads%2FGgF574IicROkHqrYasES%2FFrame%201871880718.png?alt=media&#x26;token=76b6a890-c64b-4e2d-8f18-44bb273efb51" alt=""><figcaption></figcaption></figure>

Swap confirmation to add the liquidity pool and the corresponding amount of $ETH required will pop up.&#x20;

<figure><img src="https://145503242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhgfSULx6VEo6eLaLSwM0%2Fuploads%2FT1MTrKQJA05NWUDcoO9m%2F%E7%A1%AE%E8%AE%A4swap%E9%93%AD%E6%96%872.png?alt=media&#x26;token=bec84c19-81f3-4f59-8798-c8ca182198f8" alt=""><figcaption></figcaption></figure>

Note that IERC Swap requires you to add an equivalent value of both tokens.

### **4. Verify the Swap**

Once the transaction is successful, you should see the updated  balances in your wallet.

<figure><img src="https://145503242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhgfSULx6VEo6eLaLSwM0%2Fuploads%2FouHeImkXakrD6Q7GdtYC%2FFrame%201871880709.png?alt=media&#x26;token=cd90390e-bef0-4de3-9ba2-72c1be65f404" alt=""><figcaption></figcaption></figure>

You can check the "Swap" or  transaction history section to confirm the successful swap.
