Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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:
there you need to run:
& ./Electrum --testnet
On newer Mac OS versions /Applications/Electrum.app/Contents/MacOS/run_electrum --testnet
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.
Required, but never shown