I'm building an application on bitcoin and want to use testnet instead of using real bitcoins to do my test. I'm mainly using Electrum-3.1.3 to do sweeping of addresses. But how can I switch this to be on the testnet chain instead?
General answer is running: $ electrum --testnet
If you are using Mac OSX then open terminal an jump to: /Aplications/Electrum/Contents/OSX there you need to run: & ./Electrum --testnet
On newer Mac OS versions
3On my system dir is /Applications/Electrum.app/Contents/MacOS Oct 28, 2020 at 9:38
./run_electrum --testnet– balooNov 6, 2020 at 10:16
If you install Electrum on Windows, you will have two programs you can start. One of them is called "Electrum Testnet".
Run Electrum with the
--testnet startup option.
2testnet is not working for linux environment– xds2000Sep 25, 2018 at 8:44
1and for linux? that doesnt exist Feb 6, 2019 at 7:19