xmr-btc-swap/docs/pages/advanced/swap_on_testnet.mdx
Einliterflasche bfc82c0534
refactor(docs): move source for doc pages here (#119)
* docs: move dev docs to dev-docs folder

* docs: move source for doc pages here

* docs: improve docs
2024-10-25 03:55:18 +02:00

49 lines
1.7 KiB
Plaintext

# Swapping on Testnet
Swapping on the testnet is a great way to test out the swap functionality without risking your mainnet assets. The testnet is a separate network from the mainnet, and the assets on the testnet are worthless.
To be exact, `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
## Electrum
Download Electrum from the official [site](https://electrum.org/#download) 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](https://testnet-faucet.mempool.co) one.
## Monero
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](https://www.youtube.com/watch?v=5E4aO3UAqJo) tutorial by the COMIT guys.
You can use this remote note:
```
stagenet.melo.tools:38081
```
## Installing the GUI
View the [Installation Instructions](../getting_started/install_instructions) if you haven't already installed the GUI.
## Making a swap
Start the GUI with the environment variable `TESTNET=true`. From here on you can follow the [Complete your first Atomic Swap](../usage/first_swap) guide with the difference that you will be using the testnet wallets. The process is the same, but you will be using the testnet wallets instead of the mainnet wallets.