Bitcoin Forum
May 13, 2024, 11:15:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can I get BIP32 Extended Key from BIP39 Seed.  (Read 185 times)
Cornelius144 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
May 06, 2021, 11:48:52 PM
 #1

Hello, I have this "problem" to "solve"
What is the address with the path m/0/2 for the following wallet: zpub6nQF4m3JT6hTkQ4o9Vc8LDMQx7nMkT5CsnPgVHnnrpF9JHeP6ioboEK2CXB34Xn6nzqcJnLPuMq QaKqBhwvZR7GJNvSeRUpDpCaVu3N3stz
Now, as I understand it, "wallet" is BIP 39 seed, I can use bip32.org but I need to get to bip32 extended key first, any ideas how I might do that or solve that problem any other way?
Thank you
1715598914
Hero Member
*
Offline Offline

Posts: 1715598914

View Profile Personal Message (Offline)

Ignore
1715598914
Reply with quote  #2

1715598914
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715598914
Hero Member
*
Offline Offline

Posts: 1715598914

View Profile Personal Message (Offline)

Ignore
1715598914
Reply with quote  #2

1715598914
Report to moderator
1715598914
Hero Member
*
Offline Offline

Posts: 1715598914

View Profile Personal Message (Offline)

Ignore
1715598914
Reply with quote  #2

1715598914
Report to moderator
1715598914
Hero Member
*
Offline Offline

Posts: 1715598914

View Profile Personal Message (Offline)

Ignore
1715598914
Reply with quote  #2

1715598914
Report to moderator
SquirrelJulietGarden
Hero Member
*****
Offline Offline

Activity: 1316
Merit: 727



View Profile
May 07, 2021, 12:48:56 AM
Merited by hugeblack (2), pooya87 (1)
 #2

Do you know the Iancoleman website? That is an open source project and very famous.

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
May 07, 2021, 03:16:24 AM
Merited by hugeblack (2)
 #3

You should note that this is not a master key, it is a child extended key at depth 1.
That means if you want the addresses derived from the BIP-39 mnemonic at m/0/2 you first have to know what the path of the master public key was because any key you derive from this zpub will be at m/?/0/2 where you don't know what ? is.
Otherwise do what @SquirrelJulietGarden suggested, enter your zpub in Ian Coleman tool and switch to BIP32 tab at the bottom to modify the derivation path to m/0/2 and see the derived addresses.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Charles-Tim
Legendary
*
Offline Offline

Activity: 1540
Merit: 4863



View Profile
May 07, 2021, 08:54:18 AM
 #4

Now, as I understand it, "wallet" is BIP 39 seed, I can use bip32.org but I need to get to bip32 extended key first, any ideas how I might do that or solve that problem any other way?
You question is well answered already make sure you run Iancoleman offline for safety reasons. Click on the site, turn your device data network off, safe the the page, make sure your data network is off, open another tab, and click on the saved page. This will run the tool offline on your device. Aternatively, downloaded the html file and run it offline on your device.

Also, so far you have your seed phrase, you can also just make use of your seed phrase directly, or follow the illustration above. The derivation path will be BIP44 by default, you will need to change it to BIP32 exactly as pooya87 illustrated. Then you will need to scroll down to see the address you are looking for.


.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Cornelius144 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
May 07, 2021, 01:10:21 PM
 #5

I understand it but I still need a root key for the converter to work, just a seed is not enough.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
May 08, 2021, 03:29:46 AM
 #6

I understand it but I still need a root key for the converter to work, just a seed is not enough.
You can derive child keys from an extended public key as long as the derivation path is not hardened which yours isn't (m/0/2). So just enter the zprv in "BIP32 Root Key" field and then from "Derivation Path" select the "BIP32" tab and enter your derivation path in "BIP32 Derivation Path" textbox. You'll get the addresses and the first one is: 16K7HfL33irnJtQrKDqYp5rphhG5LrG8hS
If you want native SegWit addresses (since you have a zpub) then choose "BIP141" tab and switch the "Script Semantics" to P2WPKH and enter your path and you'll get this first address: bc1q8fz464z359mef4qykpyl4axauemacqzs0fjpfz

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
SquirrelJulietGarden
Hero Member
*****
Offline Offline

Activity: 1316
Merit: 727



View Profile
May 08, 2021, 11:37:50 AM
 #7

I took that diagram from HD Wallets Explained: From High Level to Nuts and Bolts. OP can read that article and find something helpful and usable.

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18515


View Profile
May 09, 2021, 12:13:01 PM
 #8

I understand it but I still need a root key for the converter to work, just a seed is not enough.
Download Ian Coleman's BIP39 tool from here: https://github.com/iancoleman/bip39/releases/, and ideally verify it.
Run it offline.
Enter your seed phrase in the box titled "BIP39 Mnemonic".
Scroll down a few boxes to the box titled "BIP32 Root Key".
You can then take this root key and enter it in to bip32.org which you should also have downloaded, verified, and ran offline.

There is no need to use bip32.org here at all though. All the information it will derive from your root key will already have been derived and displayed by Ian Coleman's tool.
Cornelius144 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
May 09, 2021, 04:08:13 PM
 #9

Thank you, all of you for your helpful all answers , wish you all the best
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!