Skip to content

Swapping on Testnet

binarybaron edited this page Jun 2, 2022 · 3 revisions

The GUI is currently defaulting to testnet until we feel it is safe enough to use on mainnet. This means that testnet3 bitcoin will be swapped for stagenet Monero. You will need to set up two wallets to perform a swap:

  • A Testnet3 Electrum Wallet (Bitcoin)
  • A Stagenet Monero GUI Wallet

Getting your Electrum wallet ready

Download Electrum from the official site and then start the wallet with the --testnet flag.

Linux

./electrum --testnet

Mac OS:

open -n /Applications/Electrum.app --args --testnet

Windows:

If you install Electrum on Windows, you will have two programs you can start. One of them is called "Electrum Testnet".

Getting testnet coins

To get some free Testnet coins visit a faucet like this one.

Getting your Monero wallet ready

If you use the monero-wallet-cli you simply need to start it with the --stagenet flag. If you use the GUI you can follow this tutorial by the COMIT guys.

You can use this remote note:

stagenet.melo.tools:38081

Installing the GUI

Please download the GUI from the GitHub release page. Choose your respective version (.dmg for Mac, .AppImage for Linux and .exe for Windows). You may need to manually allow the opening of the GUI on Mac OS.

Making a swap

Select a swap provider you would like to swap with (in this case, our testnet provider), click "Swap" and then input your redeem and refund address from Electrum and your Monero wallet respectively.

Main Screen Input address

You will be greeted with an offer and an address for the deposit. Send an amount between the minimum and maximum shown. Please note that you will need to send slightly more than the minimum amount to account for network fees.

Quote

Once you have deposited enough, the first bitcoin transaction will be published and the funds will be locked in a multisignature address that belongs to you and the swap provider. You will now have to wait for some time until the provider locks his Monero. This can really take a long time. Most providers will wait for two bitcoin confirmations (about 20 minutes, will soon change to one confirmation) and then a Monero transaction confirmation (2 minutes) before sending you the information needed for the next step.

Lock Tx

As soon as the provider locks their Monero, you will be shown the transaction and you will have to wait for 10 confirmations on this transaction before proceeding to the next step that will ultimately enable you to redeem the Monero.

The provider will then be sent some information that will allow them to redeem the Bitcoin. After they have redemeed the Bitcoin, you will be able to redeem the Monero which will then be sent to the address have specificed.

Please consider giving some feedback, it is truly valuable for us to improve the overall usability of this project

Donate

We rely on generous donors like you to keep development moving forward. To bring Atomic Swaps to life, we need resources. If you have the possibility, please consider making a donation to the project. All funds will be used to support contributors and critical infrastructure.

XMR: 87jS4C7ngk9EHdqFFuxGFgg8AyH63dRUoULshWDybFJaP75UA89qsutG5B1L1QTc4w228nsqsv8EjhL7bz8fB3611Mh98mg
BTC: bc1q8hj4aq59fucrhz59rxpqnwgy8y6spxxvq4wcj2