-
Notifications
You must be signed in to change notification settings - Fork 10
Electrum Configure Private Oneserver Mode on macOS
Prerequisite: Install Electrum for macOS.
Now, to avoid privacy leaks associated with connecting to public Electrum servers, we create an AppleScript Application to launch Electrum.app in single-server "private mode". Launching Electrum via this AppleScript Application will configure it at launch to only connect to your ElectrumX or EPS instance.
-
Open Apple's "Script Editor"
-
New Document, type=Application, name=ElectrumPrivate
-
Paste text (testnet optional):
# connect via ssl do shell script "open -a /Applications/Electrum.app --args --oneserver --server 192.168.1.6:50002:s --testnet"
or
# connect via tcp do shell script "open -a /Applications/Electrum.app --args --oneserver --server 192.168.1.6:50001:t --testnet"
Note: Connecting via SSL to an ElectrumX server using a self-signed certificate, from Electrum running on macOS, isn't working for me - the issue may be related to python3's handling of self-signed certs?. Regardless, since my ElectrumX server is on my home network, I just connect via TCP.
-
Save
-
From now on, launch "ElectrumPrivate" app instead of "Electrum"
PS. To see debug output for Electrum on macOS:
cd /Applications/Electrum.app/Contents/MacOS/
./Electrum --oneserver --server 192.168.1.6:50002:s -v=debug