Usage
Complete your first Atomic Swap

How to complete your first Atomic Swap

In this guide, we'll walk you through the process of completing your first atomic swap using the UnstoppableSwap GUI. Although the process is quite intuitive, there are some nuances to be aware of, so we'll cover everything you need to know to get started.

Prerequisites

To complete an Atomic Swap, you'll need to have the following:

  1. A Monero wallet you can use to receive funds
  2. A Bitcoin wallet you can use with some funds in it. This wallet should also be able to generate a native SegWit address (an address starting with bc1). This address will be used to receive the refunded BTC if the swap is not completed.
  3. The UnstoppableSwap GUI installed on your computer. We'll refer to this as GUI from now on. View the Installation Instructions if you haven't already installed the GUI.

Performing the swap

Choose a Swap Provider to swap with

After opening the GUI, you'll be greeted with the main screen. In the bottom of the widget in the middle of the screen you can see the currently selected Swap Provider. This is who you'll sent your Bitcoin to and who you'll receive the Monero from. You can change the Swap Provider by clicking on the arrow and selecting a different Swap Provider from the list.

The Swap Providers offer different exchange rates and differing amounts of liquidity, so you may want to choose a Swap Provider that best suits your needs.

You can use the text field to calculate the approximate amount of Monero you'll receive for a given amount of Bitcoin. The final rate however will differ and will be shown in a later step.

Start the Swap

Once you've selected a Swap Provider, you can start the swap by clicking the Swap button. This will open a new window where you need to enter the receiving Monero address and the Bitcoin address refunds will be sent to if the swap is not completed successfully.

Depositing Bitcoin

After pressing the button, you'll be displayed with an offer by the Swap Provider. This includes:

  • the exchange rate
  • the minimum and maximum amounts you can swap
  • the network fees that'll be spent on the Bitcoin lock transaction

You can hover over the values to see their value in USD.

If you're happy with the offer, you can proceed by sending the Bitcoin to the address displayed on the screen. All funds sent to this address will be used for the swap as long as they below the maximum amount.

Waiting for the swap to complete

After sending the Bitcoin, you'll need to wait a moment for the Bitcoin to be locked. After the lock transaction has been confirmed, the other party will lock the Monero funds. In most cases, it will take around 10 minutes for the Bitcoin lock transaction to be confirmed and 2 minutes later the Monero lock transaction will be confirmed.

The swap will go through four stages:

  1. Locking the Bitcoin: Your Bitcoin is locked in a 2-of-2 multisig address.
  2. Swap Provider locks the Monero: The other party lock the Monero
  3. Swap Provider redeems Bitcoin: The other party redeems the Bitcoin
  4. Redeeming the Monero: You redeem the Monero using a key that was revealed in step 3