Bitcoin Forum
June 17, 2024, 12:11:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is there a possibitity to run electrum without gui?  (Read 267 times)
rik12345 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 3


View Profile
May 25, 2019, 05:36:03 AM
 #1

So, I wass occupied with all kind of things, and when I came back
the old version of electrum was not connecting to any servers anymore.

Investigation learned that the electrum software was updated due to fishing attempts.

Fair enough, but so far I was not able to run the new software. (see:https://bitcointalk.org/index.php?topic=5144582.0)
eventualy I narrowed my error down to the message:

Code:
Exception: Error pre-loading electrum.plugins.hw_wallet: SystemError("Parent module 'electrum.plugins.hw_wallet' not loaded, cannot perform relative import",)

This realy sounds like an electrum error, but since nobody else reports the same error, I suppose it is still caused by something else.

luckally for the bitcoin I do not only have the seed, but also a public and a private key.
So I should be able to reclaim my funds in some other wallet.
I decided to use Bitcoin-Core, and I am now downloading the whole blockchain as a consequence.

But ....

I have also LTC and BCH.
And I was using electrum LTC and the Electron-Cash software, that are both based on electrum,
And indeed, they both give exactly the same error.

And for those I only have the seeds. (Let this be a good warning, F*ck the seeds)

So my question is :

Is there a trimed down version of electrum, that I can use to only import the seeds, and get my keys out in return?

Then I only have to download a few blockchains :-)

Thanks, Rik.


HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 25, 2019, 07:25:10 AM
 #2

Is there a trimed down version of electrum, that I can use to only import the seeds, and get my keys out in return?
Not a trimmed down version of Electrum, but a user here modified the Ian Coleman BIP39 Mnemonic Code Converter so that it will work with Electrum seeds (instead of BIP39 seeds): https://github.com/FarCanary/ElectrumSeedTester

Should theoretically work with the Electrum-LTC and ElectronCash seeds... as I believe they didn't change anything in the seed generation.

Give it a try and report back if it works! Wink


Also, Electrum works on the commandline on Linux (and Mac OSX I believe)... Not sure that not using the GUI will solve your issue however... seems more like a Python versioning issue.

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


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

Activity: 10
Merit: 3


View Profile
May 25, 2019, 09:50:23 AM
 #3

The electrum wallet works on the commandline, but only electrum -help gives an output without errors, so that is of no use.

But your other info is very usefull.
Your link did not produce the right answer right away, but that's probably because I am confused by all the information like BIP39 and other numbers and things.
But a quick search on the internet gives me plenty of new starting points, so I guess I will sort this out eventually.

Thanks.

Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
May 25, 2019, 06:15:58 PM
 #4

So, I wass occupied with all kind of things, and when I came back
the old version of electrum was not connecting to any servers anymore.

Investigation learned that the electrum software was updated due to fishing attempts.

Fair enough, but so far I was not able to run the new software. (see:https://bitcointalk.org/index.php?topic=5144582.0)
eventualy I narrowed my error down to the message:

Code:
Exception: Error pre-loading electrum.plugins.hw_wallet: SystemError("Parent module 'electrum.plugins.hw_wallet' not loaded, cannot perform relative import",)

This realy sounds like an electrum error, but since nobody else reports the same error, I suppose it is still caused by something else.

luckally for the bitcoin I do not only have the seed, but also a public and a private key.
So I should be able to reclaim my funds in some other wallet.
I decided to use Bitcoin-Core, and I am now downloading the whole blockchain as a consequence.

But ....

I have also LTC and BCH.
And I was using electrum LTC and the Electron-Cash software, that are both based on electrum,
And indeed, they both give exactly the same error.

And for those I only have the seeds. (Let this be a good warning, F*ck the seeds)

Are you serious? Your seed words can be used to generate your private key, What are you even talking about? Lose them and lose your funds if you don't care.

The seed words are the MOST IMPORTANT THING. And you are NOT going to type your private key by hand in piece of paper, do you? If you copy paste it, or print it, you might as well be giving your money away to others. How clueless to computer security can you ever be? Did you not pay attention when they told you to write your seed words BY HAND? Why do you think people stopped using paper wallets with printed private keys?

Now your "problem" is non existent. Download a recent live linux iso, boot from that, install the various Electrums and use your seed words to get access back to your funds. Your distro is too old to handle a recent Electrum?

Or why don't you use a virtual machine to install something recent? Some people have come here asking how to make run the newer Electrums with their old distros, but here you are blaming it on the seed words. Seriously, its like you'd rather lose your money than focus on your REAL problem.

Oh yea, Electrum does run in pure cli mode as you already found.

BIP39 are the "compatible with legacy" Segwit addresses, those starting with 3. You don't need to bother with that, even Bitcoin Core is now using native segwit by default and you can send to any address anyway no matter what style your wallet is using.

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 25, 2019, 09:48:41 PM
 #5

You guys may want to read the OPs other thread:

I tried to install the newest electrum on a rasberry pi with OS Raspbian Stretch

OPs options for OSes is pretty limited... because they're trying to use a Raspberry Pi (ARM architecture). Likely, the port of Python and/or libraries to ARM is the issue here.


But your other info is very usefull.
Your link did not produce the right answer right away, but that's probably because I am confused by all the information like BIP39 and other numbers and things.
But a quick search on the internet gives me plenty of new starting points, so I guess I will sort this out eventually.
All you should need to do is enter the 12 word seed and the converter should detect SegWit or Legacy and then display the correct addresses/private keys at the bottom... If it doesn't... errrr Huh

Is your Electrum wallet 2FA or something? Huh




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


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

Activity: 10
Merit: 3


View Profile
May 26, 2019, 05:28:31 AM
 #6

 
Well yes, it works

with LTC
It took a while before I encounterd this illypiely tiny togglebutton to toggle to another coin.
The adress right op top was the right one.
So I have now my keys for the LTC

With BCH however, It says :
- peach not in wordlist, did you mean beach?
No, I did not say beach, I said peach :-)
I suppose I need another wordlist.

And for the BTC, luckely I already have all the information, but I tried anyway.
And It gives an adress that I recognise as one of mine, (I wrote it down one day) on top.
But that's one without any bitcoin on it.
The one adress that I am looking for, is not in the list, even if I generate 200 adresses.
I tried generating more adresses, but somehow the tiny Raspbeerry is too little for the browser, and the pages times out every time.

@ETFbitcoin:
"Looks like permission problem, you didn't install required dependency by Electrum or you didn't install required dependency correctly."
Yes, a permission problem is something I havn't checked out.
This could be it.

@artemis:
"How clueless to computer security can you ever be?"
Where I live, we do not even lock the door, when we're not at home.
And I can leave my wallet lying on the rooftop of my car by accident, and come back 2 days later and it's still there.
So I suppose I can write my seed mnemonic just somewhere on the car. ;-)

Thanks.
Rik.  Smiley

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 26, 2019, 11:22:02 AM
 #7

And for the BTC, luckely I already have all the information, but I tried anyway.
And It gives an adress that I recognise as one of mine, (I wrote it down one day) on top.
But that's one without any bitcoin on it.
The one adress that I am looking for, is not in the list, even if I generate 200 adresses.
I tried generating more adresses, but somehow the tiny Raspbeerry is too little for the browser, and the pages times out every time.
It'll most likely be because you're looking for a change address... and the ElectrumSeedTester generates receive addresses by default...

You need to change the BIP32 Derivation Path...

If your seed is generating Legacy addresses (starts with 1), by default the derivation path will be m/0... change it to m/1
If your seed is generating Bech32 addresses (starts with bc1), by default the derivation path will be m/0'/0... change it to m/0'/1

That should show you the address you're looking for Wink

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


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

Activity: 10
Merit: 3


View Profile
May 26, 2019, 04:05:18 PM
 #8

Yes, it works, there it is.
And indeed the right adress and the right keys.

In the mean time I also found an alternative wordlist, with the mnemonics words that are in by bitcoin cash mnemonics seed.

Changed the wordlist_english.js out of the ./ElectrumSeedTester-master/src/js folder, but then the website gets stuck somehow.
I suppose I overlook some comma or something.

This will be solvable.

Thank you so very much.
 Smiley Rik.

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 26, 2019, 10:40:05 PM
 #9

In the mean time I also found an alternative wordlist, with the mnemonics words that are in by bitcoin cash mnemonics seed.
Different wordlists?? Not to my knowledge... where did you read about this? Huh

Looking at the wordlist in the Electrum source code and the wordlist in the Electron Cash source code... They're identical.

And so they should be... because, AFAIK, they both use the BIP39 wordlist.


With BCH however, It says :
- peach not in wordlist, did you mean beach?
No, I did not say beach, I said peach :-)
I suppose I need another wordlist.
For the record... peach isn't in the BIP39 wordlist... there is a "peace" or "beach" Wink

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


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

Activity: 10
Merit: 3


View Profile
May 27, 2019, 05:43:29 AM
 #10

Well I just did a search on the internet with some of my mnemonic words, swaped in a different order out of paranoia, and it came up with this :

Diceware-like-list-for-Electrum-1

And yes, it contains al my mnemonic words, and it is an electron list.
So I suppose this is the right one...

In the sourcecode of my downloaded electron-cash however I found the official wordlist.
So don't ask me how come I had this other list.
I realy don't know.

implementing this new list in the ElectrumSeedTester website fails however.
No mather what I try.
I am sure I did not forget a comma.
I made the exact same layout, only with different words, and the website gets stuck, somewhere halfway.

pfff, well.
I'll keep on looking further.
Maybe .. but today I've got to work unfortunately. (however, I like my work)

 Smiley Rik.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 27, 2019, 06:56:45 AM
 #11

comma's? it should just be spaces...

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


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

Activity: 10
Merit: 3


View Profile
May 27, 2019, 02:06:20 PM
Last edit: May 27, 2019, 03:00:48 PM by rik12345
 #12

Well  I was searching for my keys via this offline webpage, mentioned above.
Which has the words between double quotes, and separated by commas.

But indeed Electum has a (in my case) newline separated list.
I suppose spaces would do also.

But, by checking this out I found my alternative wordlist in:
.../Electrum-3.3.6/electrum/old_mnemonic.py

So it is an old mnemonics list.

Since this list is included in the Electrum source-code, I suppose Electrum works with this list out of the box.
Only this website isn't. (yet)

 Smiley Rik.
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!