> For the complete documentation index, see [llms.txt](https://docs.fwallet.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fwallet.net/web-fruits-wallet/juice-dex/swap.md).

# Swap

A Function that allows users to convert FRTS to BTC/ETH or BTC/ETH to FRTS in the user's wallet.

Access to the Juice/DEX function to perform the function.

**Step 1**

* Click on the "Juice DEX" menu to access the function.                                                                                   ![](/files/3BvNAuxUwWoUriKYeQmy)

**Step 2**

* Select the source coin (1) and enter the amount (2) you want to swap.

  <figure><img src="/files/ZT796Av3rfh5g9ZUaCPi" alt=""><figcaption></figcaption></figure>

**Step 3**

* Select target coin (3) 🡪The number of coins you will receive (4) corresponds to the type of source coin you want to swap.

  <div align="left"><figure><img src="/files/oWWbyvG3lGEjGDfbAcs5" alt=""><figcaption></figcaption></figure></div>

**Step 4**

* Click ‘Swap’🡪  Redirect to the Exchange screen.

**Note:** You can only SWAP from FRTS to ETH or BTC, ETH to FRTS, and BTC to FRTS.

Click ![](/files/yTrfQlNECjVwaINNEhid) to change the position of the source coin and target coin or vice versa

**Step 5**

* If Source is Fruits and the Destination is coin (ETH/BTC) then display Swap (FRTS -> coin).
* If Source is coin (ETH/BTC) and the Destination is Fruits then display Swap (coin -> FRTS).

Click to confirm the transaction swap between the two coins 🡪 Display the “Confirm Order” popup.                                                                                                                                          ![](/files/1D5ACQ787ihDnofXpzG8)![](/files/KYRGjHsL0iV3YO4dBpwc)

**Note:** Includes the following fees

* Transaction fee:
  * There is no fee to convert from FRTS to BTC/ETH.
  * Transaction fees from ETH/BTC to FRTS are automatically updated according to the exchange.
* Swap fee: fee for swap

**Step 6**

* For buy order
  * Step 5.1: Enter a valid PIN
  * Step 5.2: Click the Buy sell button => Successfully create a Swap order
* For sell order
  * Click the Sell button: Successfully create a Swap order

If after a period of time, the user has not confirmed the swap but the swap rate changes, the error message "Create swap failed, please try again" is displayed when clicking the button.![](/files/1bCdI0P9NIwRv9GxTHqm) ![](/files/K8Y5WYjAkvcJJG2aHq4a)                               &#x20;
