Bitcoin Forum
July 10, 2024, 01:34:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Re: How to restore a bip39 seed from linux console and not the GUI client electrum on: June 16, 2020, 11:38:36 PM
The electrum cli doesn't have that option. You can use this script instead: https://gist.github.com/AbdussamadA/6dc1a09b79f00d7f6a00e91a99d32ef3 . Run it with python3 interpreter on your system and pass it the seed words. It'll output the xprv for the first bip44 account. You can then pipe the output to electrum restore. For example:

Code:
python3 the-script.py seedwords1 seedword2 | electrum -w wallet_file_name restore -

Hello there!

I am trying to recover a wallet using your script https://gist.github.com/AbdussamadA/6dc1a09b79f00d7f6a00e91a99d32ef3 which works great, although I changed m/44' to m/49' (for bip49). But inputting the resulted yprv using

rm -f /root/.electrum/wallets/default_wallet; script.py "asd asd asd asd asd asd asd asd asd asd asd asd" | electrum -w /root/.electrum/wallets/default_wallet restore -

doesn't yield the same results as manually inputting the *same* yprv via Electrum windows gui, which properly recovers the wallet I am looking for (addresses starting with 3). Via CLI it just gives a totally different set of addresses (starting with bc1), even when the yprv is be the same.

Any clue what might be it?
2  Alternate cryptocurrencies / Altcoin Discussion / Re: XSN just destroyed Atomic Swaps with Lightning Swaps on: October 30, 2018, 12:29:17 PM
Awesome job from the XSN core devs!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!