Bitcoin Forum

Bitcoin => Electrum => Topic started by: HalfCurl on August 02, 2018, 08:23:15 PM



Title: Electrum Mac wallet/testnet setup
Post by: HalfCurl on August 02, 2018, 08:23:15 PM
Electrum 3.2.2 on OS 10.13. The beginners guide I have says to open a nano text editor. Insert with the following 2 lines

#!/bin/bash

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

Then save the the text file.  It then appears as an electrum icon on the desktop.  Click the icon and away you go. 
The problem here is there is no Electrum.app in my Applications folder and any testnet transfer fails with a wallet error.
In fact I cannot locate anything or any directory related to Electrum or the wallet instal anywhere on the system. So I can't point
to the correct place to go for default_wallet.  What have I done wrong here?  Thanks in advance.


Title: Re: Electrum Mac wallet/testnet setup
Post by: HCP on August 02, 2018, 10:03:49 PM
How did you "install" Electrum? Did you open the .dmg, then drag the "Electrum" icon into your "Applications" folder?

If you do that, you should see Electrum.app added to the applications folder.

However, I don't seem to be able to make this script work. I just kept getting an error about TextEdit not having permissions to launch the application. Instead I had to open Terminal and use the following command:
Code:
/Applications/Electrum.app/Contents/MacOS/Electrum --testnet 

I'm not overly familiar with OSX these days... so I might be missing something obvious.


Title: Re: Electrum Mac wallet/testnet setup
Post by: HalfCurl on August 03, 2018, 06:21:25 PM

No. The Mac installation never gave me the standard drag and drop of the icon to the Apps folder. Thanks for the reminder there.
So I reinstalled Electrum but this time opened the Apps folder in Finder then physically draged the Electrum icon across the desktop and
dropped it in the Finder window.

Now when I attempt connection from testnet server to wallet I still get a wallet error.  This is because in the script line execution of

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

now finds the Electrum.app but now says that -args and -testnet do not exist.
I'm curious here if any one out there has gotten this to run on MacOS?
Getting closer I think.


Title: Re: Electrum Mac wallet/testnet setup
Post by: bob123 on August 06, 2018, 12:54:56 PM
open -n /Applications/Electrum.app args testnet

now finds the Electrum.app but now says that -args and -testnet do not exist.

You need to use –– instead of in front of an argument.

Your command would look like this:
Code:
open -n /Applications/Electrum.app --args --testnet