# Swap Tokens

### Swapping/Trading

SmarDex, as a decentralized protocol, offers users a vast selection of ERC20 tokens and allows them to trade without relying on a Centralized Exchange (CEX). All actions executed are directly reflected in your personal wallet, ensuring complete ownership of your coins – your keys, your coins!

## Perform a Swap in SmarDex with 5 simple steps

### **1. Access Swap panel here :** [**https://smardex.io/swap**](https://smardex.io/swap)

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FAZiCW4QynTDV9tyrcn5x%2F0.%20Pannel%20copie.png?alt=media&#x26;token=39ba8ea9-dfb4-4731-b58a-0af17d9548e7" alt=""><figcaption><p>Swap panel</p></figcaption></figure></div>

### 2. Connect your web3 wallet (ex. Metamask, Coinbase Wallet, etc.)

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FIkpAlWsgJ2Fy01d4vxed%2F1.%20Connect%20wallet%20copie.png?alt=media&#x26;token=a1257a13-b598-4aa5-afa6-6d5881d4f168" alt=""><figcaption><p>Click on 'Connect Wallet'</p></figcaption></figure></div>

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FazHmHVOuoLZa4YEBxgmV%2F2.%20Connect%20wallet%202%20copie.png?alt=media&#x26;token=d9561bbe-3e4d-42cb-ad86-1e93c8b9e0de" alt=""><figcaption><p>Select your wallet from the list and connect it</p></figcaption></figure></div>

### 3. Choose the chain on which you want to swap your tokens

<figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FGpWWvAWCS3u6xU4EI9ez%2F0.%20Chose%20your%20chain.png?alt=media&#x26;token=55526af2-c247-405c-88c8-719a15a53801" alt=""><figcaption><p>Click here to change chain if needed</p></figcaption></figure>

### 4. Select a token you possess from your Web3 wallet. Make sure you have enough tokens to cover the transaction's gas fees

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FD6f1haXtaZVL9wVdtnQf%2F2.%20Choix%20token%201%20-%20copie.png?alt=media&#x26;token=6848061b-4796-49c9-8889-bcc3b1a7fa20" alt=""><figcaption><p>Select the token you want to swap</p></figcaption></figure></div>

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2F0X51Oe7HhBJ0HKjkX6Z0%2F2.%20Choix%20token%202%20copie.png?alt=media&#x26;token=6a2e6e23-1b4c-42c9-9879-99a658ee8262" alt=""><figcaption><p>Select the token you wish to acquire</p></figcaption></figure></div>

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FuzkdYeKABBa4uhbLHNge%2F2.%20Enter%20amount%20copie.png?alt=media&#x26;token=5ed9875f-47d0-40a7-8566-b21a094e0fe9" alt=""><figcaption><p>Select the amount you want to swap</p></figcaption></figure></div>

### 5. If required, approve the token smart contract&#x20;

(For your first swap of a new token, you have first to approve the connection between your wallet and the token’s smart contract to proceed securely)

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FDhsrCD85n5vsbg4xg0Td%2F2.%20Swap%20WBTC%20-%20SDEX%20(avant%20approuve)copie.png?alt=media&#x26;token=f8c4afc2-ecb2-47fd-96ba-b079dd905f5f" alt=""><figcaption><p>Click on the 'Swap' button</p></figcaption></figure></div>

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2Fakmrn3zr0slf9kdPv6dl%2F3.%20Approuve%20token%20copie.png?alt=media&#x26;token=5174fa20-c2fb-463a-950b-3a50af7d507f" alt=""><figcaption><p>Click on the 'Approuve' button</p></figcaption></figure></div>

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2Fd9LGmGEWFJHAerVot7S5%2F4.%20Approuve%20sur%20Metamask%20copie.png?alt=media&#x26;token=e79faecf-c198-4c52-a68c-e4f7041c014c" alt=""><figcaption><p>Set the authorized spending limit for the smart contract</p></figcaption></figure></div>

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FbDIotynsE8zkVko1rHPq%2F5.%20Approuve%20Button%20on%20Metamask%20copie.png?alt=media&#x26;token=7bd567d6-b928-4be7-b579-3f7f77415153" alt=""><figcaption><p>Approve it on your wallet</p></figcaption></figure></div>

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FXFSGsiynxYIxjKDkfb1e%2F6.%20Approve%20approved%20copie.png?alt=media&#x26;token=1cf9011f-b09a-452b-a40d-82c827d56e48" alt=""><figcaption><p>Approve confirmed</p></figcaption></figure></div>

### 6. Finally perform a swap of your favorite tokens successfully on SmarDex

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FDTOEdGLVHeFEIn3ejxVl%2F7.%20Confirm%20Swap%20copie.png?alt=media&#x26;token=b720f661-a8fd-4e3c-898a-8112cd2537dc" alt=""><figcaption><p>Click on the 'Confirm Swap' button</p></figcaption></figure></div>

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FtSKidvK4gwyYeHYzuKKc%2F8.%20Confirm%20Swap%20on%20Metamask%20copie.png?alt=media&#x26;token=eafb937c-2515-470d-a740-243f0c6664d2" alt=""><figcaption><p>Confirm the transaction in your wallet</p></figcaption></figure></div>

<div align="left"><figure><img src="https://3219149788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FczLG78BsP0caLuIrQOod%2Fuploads%2FmGgWYeTuEwmiUDJ40HFv%2F9.%20Swap%20succesfull%20copie.png?alt=media&#x26;token=1891eb79-63ed-4808-8988-e83c6a74216c" alt=""><figcaption><p>Swap successful</p></figcaption></figure></div>

{% hint style="warning" %}
SmarDex supports a variety of vetted ERC20 tokens and reputable tokens. You can also import custom tokens by using their smart-contract address on the respective blockchain. However, please conduct thorough research and ensure you are fully aware of the safety and legitimacy of the tokens before importing and trading. Always perform your own due diligence.
{% endhint %}
