Author

Topic: Need help with iancoleman (Read 151 times)

legendary
Activity: 2268
Merit: 18586
March 11, 2023, 10:32:52 AM
#15
Seed and root key are the same, so i can secure my seed or i can secure my root key its the same ?
Technically kind of, but practically no.

They are not quite the same thing. The root key is derived from your seed phrase, and is the first step in deriving the rest of your wallet.

It is correct to say that you could use either of them to derive all the private keys and addresses from any derivation path, however, the vast majority of wallets will only allow to import a seed phrase and will not allow you import master private keys. Additionally, it is significantly easier to write down and import a seed phrase without making any mistakes than it is to do the same with a master private key.

In short, back up your seed phrase and ignore your master private keys. The vast majority of users do not need to handle raw private keys, and if you don't know what you are doing then doing so is a security risk.
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
March 11, 2023, 12:38:43 AM
#14
Could the seed also be used for ERC20 wallets?
Do you then have to switch to Ethereum at Coin?
Yes, BIP39 seed can be used for Ethereum and other Altcoins as well.
And most ERC20-supported wallet's seed are also BIP39 compliant, example: Metamask.
But it's not recommended to use 1 seed phrase to multiple coins for safety reasons

You can read BIP44 for more information about derivation path: github.com/bitcoin/bips/blob/master/bip-0044
member
Activity: 88
Merit: 32
March 10, 2023, 10:57:36 AM
#13
for what are these keys and what can i do with these keys.
BIP32 Root Key
Account Extended Private Key
Account Extended Public Key
BIP32 Extended Private Key
BIP32 Extended Public Key
Are you familiar with 'derivation path'? yes?
If so, here's what it looks like if you plot those master keys in BIP44's standard derivation path for example:
m/44'/0'/0'/0/address_index
BIP32 Root Key/44'/0'/Account Extended Private Key/BIP32 Extended Private Key/address_index


"BIP32 Root Key" is the master private key derived from your hdseed ('BIP39 Seed' in iancoleman).
"Account Extended Private Key" is the extended private master key at the 'account index'.
"BIP32 Extended Private Key"  is the extended private master key at the 'chain index'.
"Extended Public Keys" are just the pubKey pair of those prv master keys.

Notice that if you change the "Account", the 'Account Extended Private Key' will change as well.
And if you change "External / Internal" (chain), 'BIP32 Extended Private Key' will change but the master keys at higher hierarchy wont change.
Oh, I guess I was wrong myself, well explained, thanks Smiley

Could the seed also be used for ERC20 wallets?
Do you then have to switch to Ethereum at Coin?
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
March 10, 2023, 03:23:04 AM
#12
for what are these keys and what can i do with these keys.
BIP32 Root Key
Account Extended Private Key
Account Extended Public Key
BIP32 Extended Private Key
BIP32 Extended Public Key
Are you familiar with 'derivation path'? yes?
If so, here's what it looks like if you plot those master keys in BIP44's standard derivation path for example:
m/44'/0'/0'/0/address_index
BIP32 Root Key/44'/0'/Account Extended Private Key/BIP32 Extended Private Key/address_index


"BIP32 Root Key" is the master private key derived from your hdseed ('BIP39 Seed' in iancoleman).
"Account Extended Private Key" is the extended private master key at the 'account index'.
"BIP32 Extended Private Key"  is the extended private master key at the 'chain index'.
"Extended Public Keys" are just the pubKey pair of those prv master keys.

Notice that if you change the "Account", the 'Account Extended Private Key' will change as well.
And if you change "External / Internal" (chain), 'BIP32 Extended Private Key' will change but the master keys at higher hierarchy wont change.
member
Activity: 88
Merit: 32
March 09, 2023, 11:25:08 PM
#11
BIP39 Mnemonic = Recover everything
BIP32 Root Key = Recover everything from the HD-Wallet
Account Extended Private Key = Recover my BIP44 Wallet-address
BIP32 Extended Private Key = Recover my BIP32 Wallet-address
BIP39 mnemonic = recover everything from HD wallet with 12 to 24 word seed phrase or mnemonic.
BIP32 root key = recover everything from the HD-Wallet with the BIP32 root key
Account extended private key  = recover BIP44 Wallet keys and addresses (the extended private key start from xpri)
                                                       = recover BIP49 Wallet keys and addresses (the extended private key start from ypri)
                                                       = recover BIP84 Wallet keys and addresses (the extended private key start from zpri)

BIP32 Extended Private Key = recover BIP32 wallet keys and addresses
I also have a question about this subject.

The coins always stays on the BIP32 address, right?
But why are the BIP44 also displayed there?

So to formulate the question better:
What is the purpose of the BIP44 and the BIP32 on the wallet?

BIP39 Mnemonic = Recover everything
BIP32 Root Key = Recover everything from the HD-Wallet
Account Extended Private Key = Recover my BIP44 Wallet-address
BIP32 Extended Private Key = Recover my BIP32 Wallet-address
BIP39 mnemonic = recover everything from HD wallet with 12 to 24 word seed phrase or mnemonic.
BIP32 root key = recover everything from the HD-Wallet with the BIP32 root key
Account extended private key  = recover BIP44 Wallet keys and addresses (the extended private key start from xpri)
                                                       = recover BIP49 Wallet keys and addresses (the extended private key start from ypri)
                                                       = recover BIP84 Wallet keys and addresses (the extended private key start from zpri)

BIP32 Extended Private Key = recover BIP32 wallet keys and addresses

Okey thank you very much i got it Smiley

Seed and root key are the same, so i can secure my seed or i can secure my root key its the same ?
As far as I know it's not the same.
I could be wrong because I'm not so sure.

With the seed you can restore everything:
BIP32
GDP44
GDP49
GDP84
GDP141

With the Root Key you can only restore 2 of the BIPs:
BIP44 & BIP32
BIP49 & BIP32
BIP84 & BIP32
BIP141 & BIP32
newbie
Activity: 21
Merit: 3
March 09, 2023, 12:47:55 PM
#10
BIP39 Mnemonic = Recover everything
BIP32 Root Key = Recover everything from the HD-Wallet
Account Extended Private Key = Recover my BIP44 Wallet-address
BIP32 Extended Private Key = Recover my BIP32 Wallet-address
BIP39 mnemonic = recover everything from HD wallet with 12 to 24 word seed phrase or mnemonic.
BIP32 root key = recover everything from the HD-Wallet with the BIP32 root key
Account extended private key  = recover BIP44 Wallet keys and addresses (the extended private key start from xpri)
                                                       = recover BIP49 Wallet keys and addresses (the extended private key start from ypri)
                                                       = recover BIP84 Wallet keys and addresses (the extended private key start from zpri)

BIP32 Extended Private Key = recover BIP32 wallet keys and addresses

Okey thank you very much i got it Smiley

Seed and root key are the same, so i can secure my seed or i can secure my root key its the same ?
legendary
Activity: 1512
Merit: 4795
March 09, 2023, 12:19:03 PM
#9
BIP39 Mnemonic = Recover everything
BIP32 Root Key = Recover everything from the HD-Wallet
Account Extended Private Key = Recover my BIP44 Wallet-address
BIP32 Extended Private Key = Recover my BIP32 Wallet-address
BIP39 mnemonic = recover everything from HD wallet with 12 to 24 word seed phrase or mnemonic.
BIP32 root key = recover everything from the HD-Wallet with the BIP32 root key
Account extended private key  = recover BIP44 Wallet keys and addresses (the extended private key start from xpri)
                                                       = recover BIP49 Wallet keys and addresses (the extended private key start from ypri)
                                                       = recover BIP84 Wallet keys and addresses (the extended private key start from zpri)

BIP32 Extended Private Key = recover BIP32 wallet keys and addresses
legendary
Activity: 3248
Merit: 2971
Block halving is coming.
March 09, 2023, 11:48:07 AM
#8
and what is the BIP32 Root Key and for what is this?


In addition to the above post It is a master private key that contains an unlimited number of private and public keys.
This key shouldn't be shared with anyone or else they also have access to your wallet.

It is likely the same as a backup seed phrase that contains all private and public keys so if someone has access to BIP32 Root Key then he can anytime import it to any wallet that supports the master private key and withdraw your funds.
newbie
Activity: 21
Merit: 3
March 09, 2023, 11:23:22 AM
#7
I would advice you to use its html offline: https://github.com/iancoleman/bip39/releases/latest/

Click on that link, download the html and use a text editor to open it on an airgapped device. Do not use the online version, for safety reason.

What is most important is the seed phrase

You can recover your wallet with BIP32 extended private key which defines HD wallet, be it legacy, nested segwit or native segwit. Your keys and addresses can be generated with the BIP32 extended public key.

With extended private key, you can also get access to all your keys and addresses pertaining to an address type. Which means different derivation path which are legacy (BIP 44), nested segwit (BIP49) and native segwit (BIP84) for the different extended private key

With extended public key, you can get access to all your addresses, but not your private keys, it can be used for watch-only wallets. Also different derivation path for the addresses which are legacy, nested segwit and native segwit.

For the extended private key and extended public key:

BIP44, legacy, the extended private key starts from xpri while the extended public key start from xpub, the address start from 1
BIP49, nested segwit, the extended private key starts from ypri while the extended public keystart from ypub, the address start from 3
BIP84, native segwit, the extended private key starts from zpri while the extended public key start from zpub, the address start from bc1q
and what is the BIP32 Root Key and for what is this ?
It defines the path to HD (hierarchical deterministic) wallet. Before, the wallets that were existing were non HD wallets which means with each address, you have to backup its private key, but HD wallet makes it possible to just backup many child private keys with just a single key.

You can read the beginning of this book chapter for it: https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch05.asciidoc

Okey i hope i got it now.

BIP39 Mnemonic = Recover everything
BIP32 Root Key = Recover everything from the HD-Wallet
Account Extended Private Key = Recover my BIP44 Wallet-address
BIP32 Extended Private Key = Recover my BIP32 Wallet-address

legendary
Activity: 1512
Merit: 4795
March 09, 2023, 10:27:33 AM
#6
and what is the BIP32 Root Key and for what is this ?
It defines the path to HD (hierarchical deterministic) wallet. Before, the wallets that were existing were non HD wallets which means with each address, you have to backup its private key, but HD wallet makes it possible to just backup many child private keys with just a single key.

You can read the beginning of this book chapter for it: https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch05.asciidoc
sr. member
Activity: 406
Merit: 443
March 09, 2023, 10:20:23 AM
#5
Hello guys i need your help please
i was creating a seed with https://iancoleman.io/bip39/
it shows me some keys i dont understand....
What are you trying to get from your use of that code? If you want to create a wallet, creating it using Electrum is easier and better. You can use to claim forked coins and convert seed /find private key of different BIP standards.

-  Yamane_Keto
newbie
Activity: 21
Merit: 3
March 09, 2023, 10:20:18 AM
#4
I would advice you to use its html offline: https://github.com/iancoleman/bip39/releases/latest/

Click on that link, download the html and use a text editor to open it on an airgapped device. Do not use the online version, for safety reason.

What is most important is the seed phrase

You can recover your wallet with BIP32 extended private key which defines HD wallet, be it legacy, nested segwit or native segwit. Your addresses can be generated with the BIP32 extended public key.

With extended private key, you can also get access to all your keys and addresses, but different derivation path which are legacy (BIP 44), nested segwit (BIP49) and native segwit (BIP84)

With extended public key, you can get access to all your addresses, but not your private keys, it can be used for watch-only wallets. Also different derivation path for the addresses which are legacy, nested segwit and native segwit.

and what is the BIP32 Root Key and for what is this ?
hero member
Activity: 1659
Merit: 687
LoyceV on the road. Or couch.
March 09, 2023, 09:59:35 AM
#3
i was creating a seed with https://iancoleman.io/bip39/
it shows me some keys i dont understand....
It's probably best not to use that site if you don't know what you're doing. Why don't you use a normal wallet to create a seed?
legendary
Activity: 1512
Merit: 4795
March 09, 2023, 09:57:27 AM
#2
I would advice you to use its html offline: https://github.com/iancoleman/bip39/releases/latest/

Click on that link, download the html and use a text editor to open it on an airgapped device. Do not use the online version, for safety reason.

What is most important is the seed phrase

You can recover your wallet with BIP32 extended private key which defines HD wallet. Your keys and addresses can be generated with the BIP32 extended public key.

With extended private key, you can also get access to all your keys and addresses pertaining to an address type. Which means different derivation path which are legacy (BIP 44), nested segwit (BIP49) and native segwit (BIP84) for the different extended private key

With extended public key, you can get access to all your addresses, but not your private keys, it can be used for watch-only wallets. Also different derivation path for the addresses which are legacy, nested segwit and native segwit.

For the extended private key and extended public key:

BIP44, legacy, the extended private key starts from xpri while the extended public key start from xpub, the address start from 1
BIP49, nested segwit, the extended private key starts from ypri while the extended public keystart from ypub, the address start from 3
BIP84, native segwit, the extended private key starts from zpri while the extended public key start from zpub, the address start from bc1q
newbie
Activity: 21
Merit: 3
March 09, 2023, 09:46:36 AM
#1
Hello guys i need your help please
i was creating a seed with https://iancoleman.io/bip39/
it shows me some keys i dont understand....

for what are these keys and what can i do with these keys.
BIP32 Root Key
Account Extended Private Key
Account Extended Public Key
BIP32 Extended Private Key
BIP32 Extended Public Key







Jump to: