Bitcoin Forum
May 25, 2024, 02:18:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum Mac wallet/testnet setup  (Read 226 times)
HalfCurl (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 02, 2018, 08:23:15 PM
 #1

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.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
August 02, 2018, 10:03:49 PM
 #2

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
HalfCurl (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 03, 2018, 06:21:25 PM
 #3


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.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 06, 2018, 12:54:56 PM
 #4

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 

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!