# 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.                                                                                   ![](https://958439685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdAO6ovMvxy1AYEVxk3Cf%2Fuploads%2Flt6qU62Gegnz4gaUtnLT%2Fimage.png?alt=media\&token=49f4da93-ed26-47fd-a940-8ff9a070d6e4)

**Step 2**

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

  <figure><img src="https://958439685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdAO6ovMvxy1AYEVxk3Cf%2Fuploads%2FcJnjk3WqW4QWOplfv0WS%2Fimage.png?alt=media&#x26;token=aadc6585-8b58-4e58-be99-35592c44da81" 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="https://958439685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdAO6ovMvxy1AYEVxk3Cf%2Fuploads%2FDYTi3bm8BeYZrjD9EmB2%2Fimage.png?alt=media&#x26;token=d60d1f47-9266-4b7b-a20c-9f89e6af45b2" 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 ![](https://958439685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdAO6ovMvxy1AYEVxk3Cf%2Fuploads%2FHshWipEwXqa93nbKxilq%2Fimage.png?alt=media\&token=4d870a51-fecc-48d5-b2b4-b4e0072d0593) 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.                                                                                                                                          ![](https://958439685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdAO6ovMvxy1AYEVxk3Cf%2Fuploads%2F0RMVI4FeBnxQo8iohCOS%2Fimage.png?alt=media\&token=14f024b5-cffa-42a7-994a-5dd56067ee0e)![](https://958439685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdAO6ovMvxy1AYEVxk3Cf%2Fuploads%2FhKFRqY9Sd5B5EbPYLRSo%2Fimage.png?alt=media\&token=f284b270-2113-420b-99fa-d5c3b8112ce6)

**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.![](https://958439685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdAO6ovMvxy1AYEVxk3Cf%2Fuploads%2FQYCIlULqOF8ibYO0joNY%2Fimage.png?alt=media\&token=27be6c42-905a-4f4b-9e62-f94a5c14c119) ![](https://958439685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdAO6ovMvxy1AYEVxk3Cf%2Fuploads%2F33PdWQRuvQOhUgEoWovm%2Fimage.png?alt=media\&token=05e03a9e-61a2-47b9-b88a-f98708d5be4f)                               &#x20;
