# Swap

**Swap Tutorial**

Swapping tokens typically refers to exchanging one cryptocurrency or token for another on a blockchain-based decentralized exchange (DEX). One of the most popular DEXs is Physica Finance, which operates on the Planq blockchain. Here's a step-by-step tutorial on how to swap tokens using Physica Finance as an example

**Note**: This tutorial assumes that you already have a cryptocurrency wallet (e.g., [MetaMask](https://metamask.io/)) set up and funded with the tokens you want to swap.

1. **Access Physica Finance Dapps**:

<figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2Fqucvml7m4Ikp6Cu5uqGj%2Fimage.png?alt=media&#x26;token=9fc7d024-23d7-4da5-9303-71783975081f" alt=""><figcaption></figcaption></figure>

* Go to the [Physica Swap](https://physica.finance/) website

2. **Connect Your Wallet**:

* In the top right corner, you will see a "Connect to a Wallet" button. Click it.

<figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2FwpfLMN2j7C5T7zkIp6RT%2FConnect%20Wallet.png?alt=media&#x26;token=c1a2fdf5-e1f3-4eef-8d25-09d18b30476c" alt=""><figcaption></figcaption></figure>

* A list of supported wallets will appear. Select your wallet, and follow the prompts to connect it.

<figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2FvO9R66dBWZRrZv1R5skn%2Fswap.png?alt=media&#x26;token=370710f6-f1fc-459c-9787-f8abf959edbd" alt=""><figcaption><p>E.g MetaMask</p></figcaption></figure>

3. **Select the Tokens**:

<figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2F9cNz4P2hD2EU037jCb1p%2FSelect%20Token.png?alt=media&#x26;token=e718a452-8ac2-46ea-88eb-53e5a92dbc35" alt=""><figcaption></figcaption></figure>

* Once your wallet is connected, you'll see options to select the tokens you want to swap. In Physica Finance, you can swap any token for another, as long as there's liquidity for both tokens.

<figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2FwxIXGv70EpRx1Fvmzzm2%2FSelect%20token%20next.png?alt=media&#x26;token=fcf94707-58fa-4fc4-91ff-e0e86e3009c5" alt=""><figcaption></figcaption></figure>

* Select second token drop down

<figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2Fx1cGDjimVLHwnpxydgLZ%2FSecond%20Token.png?alt=media&#x26;token=61b4f153-4c75-4eee-8fbf-9bb7a3a3b3c3" alt=""><figcaption></figcaption></figure>

* For this example, let's say you want to swap **Planq** for USDC. Select **Planq** in the "From" dropdown and USDC on any token in list in the "To" dropdown.

4. Enter the amount you would like to swap, receive, or select the “Max” option.\
   \
   The “Max” option automatically inputs the total amount of the token you have available in your wallet for swapping.

<figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2F8vJDqsPtzMKCAElhdnLn%2FSwap%20ok.png?alt=media&#x26;token=d1a84c7b-425a-4844-84bb-644d1de3fe34" alt=""><figcaption></figcaption></figure>

* Select “Swap”.
* Review the swap details, and then select “Confirm Swap”.

5. &#x20;your wallet, approve spending for the token you are swapping.

This will require a network cost. If this is your first time swapping the token with the Uniswap protocol, then you’ll need to approve the token in order to trade it.

\
6\. In your wallet, confirm the swap. This transaction requires network costs.

<figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2F6s3U74nBDxmLtGolepkG%2FCOnfirm%205.jpg?alt=media&#x26;token=7e66c6e0-42af-4de0-88fd-176ba70aadc2" alt=""><figcaption><p>Confirm in your wallet and click Wrap</p></figcaption></figure>

7. Once confirmed, your swap is submitted to the blockchain and is pending.

<figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2Fo6ArNzBFNNXPJ9uVUFn9%2FWaiting.png?alt=media&#x26;token=968c40b1-561e-4006-a972-aabf972b1f72" alt=""><figcaption></figcaption></figure>

7. You will see “Swap success” and a green checkmark on screen when the transaction is successfully completed.\
   \ <br>

   <figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2FbgxMW0YmedT9vCqroalA%2Fimage.png?alt=media&#x26;token=8a5ceeb9-4f71-4e7e-bcd4-01d003149457" alt=""><figcaption></figcaption></figure>

<figure><img src="https://656919838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrkgHavYIJrUCEEqHAT5E%2Fuploads%2F8G89REUuTdQPwrzv03UC%2Fimage.png?alt=media&#x26;token=99219601-891b-4e0a-9b8e-74b3bacf50e8" alt="" width="375"><figcaption></figcaption></figure>

\
You have now successfully swapped with Physica to view your swap on Etherscan, you can select “View on Explorer”.
