Bitcoin Forum
May 05, 2024, 09:31:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Generate Electrum keys without electrum  (Read 214 times)
MrFlay (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 15


View Profile
February 08, 2019, 07:30:06 PM
 #1

Having to rely on a single app to get from my seed to my keys makes me a bit nervous. So it would be nice to have an alternative.

Ian Colemans BIP39 page is very good, however it doesn't work for electrum seeds.
https://iancoleman.io/bip39/

However it seems this page can be easily modified so it does work with electrum:
https://bitcointalk.org/index.php?topic=2373020.0

However this doesn't work with Bech32 addresses - the addresses don't match the electrum wallet.

So does anybody now how to get the Bech32 addresses working?

Thanks.
1714944697
Hero Member
*
Offline Offline

Posts: 1714944697

View Profile Personal Message (Offline)

Ignore
1714944697
Reply with quote  #2

1714944697
Report to moderator
1714944697
Hero Member
*
Offline Offline

Posts: 1714944697

View Profile Personal Message (Offline)

Ignore
1714944697
Reply with quote  #2

1714944697
Report to moderator
1714944697
Hero Member
*
Offline Offline

Posts: 1714944697

View Profile Personal Message (Offline)

Ignore
1714944697
Reply with quote  #2

1714944697
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714944697
Hero Member
*
Offline Offline

Posts: 1714944697

View Profile Personal Message (Offline)

Ignore
1714944697
Reply with quote  #2

1714944697
Report to moderator
1714944697
Hero Member
*
Offline Offline

Posts: 1714944697

View Profile Personal Message (Offline)

Ignore
1714944697
Reply with quote  #2

1714944697
Report to moderator
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
February 08, 2019, 11:55:31 PM
 #2

Ian Colemans BIP39 page is very good, however it doesn't work for electrum seeds.
https://iancoleman.io/bip39/
modifying a few lines of code in the iancoleman's page would make it work for electrum seed
you just need to replace a word of "mnemonic" to "electrum", and then disable its default checksum function

One of the key differences is that the BIP39 spec (and by extension IanColeman tool) uses a passphrase of "mnemonic" + yourpassphrase... whereas Electrum uses a passphrase of "electrum" + yourpassphrase.

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
February 09, 2019, 03:20:13 AM
Last edit: November 15, 2023, 07:44:09 AM by HCP
Merited by NeuroticFish (1), TryNinja (1), Husna QA (1), MrFlay (1)
 #3

However this doesn't work with Bech32 addresses - the addresses don't match the electrum wallet.

So does anybody now how to get the Bech32 addresses working?
Yeah... there seems to be an extra "script type" value in the derivation path...

so instead of: m / purpose' / coin_type' / account' / change / address_index
it is now: m / purpose' / coin_type' / account' / script_type' / change / address_index

so the derivation path isn't m/84'/0'/0'/0/0... but m/84'/0'/0'/0'/0/0 Roll Eyes

To make the modified Ian Coleman page (ie. where you have already modified it to work with Electrum seeds) generate the matching bech32 addresses/privkeys... you need to:

1. Enter Electrum Seed
2. Click on "BIP141" tab
3. Set "BIP32 Derivation path" to: m/0'/0
4. Set "Script Semantics" to: "P2WPKH"

The addresses should display at the bottom... path should show as: m/0'/0/x





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


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

Activity: 7
Merit: 15


View Profile
February 09, 2019, 10:42:01 AM
Last edit: February 09, 2019, 11:01:26 AM by MrFlay
 #4

Thanks, the derivation path thing worked Cheesy

It would be good do have a proper electrum version of the Ian Coleman page with a drop down box to choose between electrum and standard seeds. (I might have a go myself, but it is likely to take me months.)
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2170
Merit: 4238


Join the world-leading crypto sportsbook NOW!


View Profile WWW
February 10, 2019, 07:10:54 PM
 #5

Having to rely on a single app to get from my seed to my keys makes me a bit nervous. So it would be nice to have an alternative.

Ian Colemans BIP39 page is very good, however it doesn't work for electrum seeds.
https://iancoleman.io/bip39/

However it seems this page can be easily modified so it does work with electrum:
https://bitcointalk.org/index.php?topic=2373020.0

However this doesn't work with Bech32 addresses - the addresses don't match the electrum wallet.

So does anybody now how to get the Bech32 addresses working?

Thanks.

A Trezor hardware wallet will generate segwit seed phrases that can be imported into Electrum.  They won't be Bech32, but they will be native seqwit (p2sh) addresses that start with 3.

If you're concern is security of the seed phrase, you can use an off-line computer to generate the phrases.  Once you've backed them up safely there's really no reason to worry about where they came from.

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
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!