Questions tagged [bip32-hd-wallets]

BIP32, or Hierarchical Deterministic Wallets. HD wallets are wallets that can be shared amongst different wallet implementation with or without the ability to spend coins. https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki

Filter by
Sorted by
Tagged with
25
votes
2answers
36k views

What is the wallet "word seed" that is commonly used in popular wallets clients and what does it do?

I've been using a pretty old version of Multibit classic and recently decided to upgrade. I tried out Multibit HD and Electrum and noticed that both have me set up a wallet with a "word seed"...
14
votes
1answer
4k views

Derivation of parent private key from non-hardened child

Quote from BIP 32: One weakness that may not be immediately obvious, is that knowledge of a parent extended public key plus any non-hardened private key descending from it is equivalent to knowing ...
4
votes
3answers
4k views

Default derivation paths

I'd like to know all of the default derivation paths used by both software and hardware wallets for bitcoin. According to https://iancoleman.io/bip39/?#english, the following are defaults: m/0'/0' (...
5
votes
1answer
1k views

a few questions about how HD wallet works

I've read through HD wallet from various resources and have got the basic understanding about it, but am still confused by a few details 1) Each non-hardened public keys (thus addresses) can receive ...
3
votes
4answers
2k views

Electrum 2.0: non-BIP39/32 standardisation complicates matters immensely. Why?

Electrum 2.0 has been causing me some frustration, insofar as it seems to be a non-standard implementation of BIP32/BIP39 (HD wallets, mnemonic seed, respectively). The wallet in question is a 2of2 ...
1
vote
1answer
3k views

How to get xpub or mpk(bip32) for my bitcoin core wallet?

I m not getting any such option in bitcoin-core Ui and documentation http://bitcoindaily.org/bitcoin-guides/bitcoin-core-tutorial/
40
votes
1answer
7k views

ELI5: What's the difference between a child-key and a hardened child-key in BIP32

I've read BIP32, and I do understand it more or less. Could someone please explain to me like I'm 5 years old what the difference between a child-key and a hardened child-key is? I'm trying to add ...
7
votes
1answer
891 views

How does the client know the number of keys and coins when recovering from a seed?

When I have a seed and use it to recover my keys, how does a client find out which keys I had and their respective amounts? To clarify, I understand how a deterministic key works and that we can ...
3
votes
2answers
2k views

How do I migrate my Bitcoin Core wallet to an HD wallet?

I created a wallet before Bitcoin Core 0.13.0 was released so my wallet is not a HD wallet. How do I make my wallet a HD wallet?
5
votes
3answers
10k views

How to generate public and private key pairs from the 12 seed words in python

I basically followed the instructions here How to generate mycelium addresses from the 12 words in python So my code is similar: from bip32utils import BIP32Key from bip32utils import BIP32_HARDEN ...
2
votes
1answer
1k views

bip39 checksum python

Is there any Python package which will allow me to verify if the checksum of a bip39 mnemonic is valid? For instance, I have a 24-word bip39 mnemonic, and I might have made a mistake for one of the ...
4
votes
2answers
1k views

How does BIP 39 mnemonic work?

As I already understood the mnemonics are the private key separated in 12 words which joined together in the very same order produces the private key. How are mnemonics generated? Why Ledger ...
2
votes
2answers
929 views

Can a Trezor seed be used in any other HD wallet?

Trezor FAQ says If you do not use a passphrase, your recovery seed is all that is needed to access your bitcoins. If you do not use a passphrase, can the Trezor seed be used to recreate a ...
20
votes
4answers
18k views

How are different addresses generated from the same private key?

I was reading in the "Technical background of version 1 Bitcoin addresses" that addresses are a function of the private key. More or less: Private Key -> Public Key -> Address If the ...
14
votes
3answers
7k views

Key derivation in HD wallets using the extended private key vs hardened derivation

I am reading the book Mastering Bitcoin and confused about wallet key derivations in Chapter 4. Keys, Addresses, Wallets. The book first mentions a private child key derivation where the child ...
19
votes
2answers
2k views

What is the status of hierarchical deterministic wallets (BIP32)

BIP32 specifies hierarchical deterministic wallets, where a master seed fully determines a whole tree of keypairs that can be arbitrarily branched. It also introduces the notions of internal and ...
11
votes
3answers
10k views

What BIP32 derivation path does Electrum use?

Electrum 2.0 and up uses BIP0032 internally. I want to write code that generates the same addresses. I can't find any information about this online. What BIP32 paths does it use to generate addresses?...
5
votes
1answer
400 views

Can you detect that the addresses generated by an HD wallet came from a single wallet?

Can someone who is looking at the blockchain detect that 2 or more addresses generated by a single HD wallet are actually generated by that single seed/HD wallet ? Can someone who does know that 2 or ...
7
votes
4answers
2k views

What BIP32 derivation path does Electrum use for Multisig?

Same question as What BIP32 derivation path does Electrum use? but for multisig. thanks.
9
votes
1answer
5k views

How to restore Bitcoin Core HD wallet private keys by master key?

Since version 0.13.0 Bitcoin Core supports HD wallets. In a .txt dump of the wallet (created by JSON-RPC dumpwallet command), one can find an "extended private masterkey" which is intended to be used ...
7
votes
4answers
3k views

What wallets currently support RBF?

What wallets currently support RBF? Is there some workaround if they don't?
5
votes
1answer
482 views

Hardened Keys vs Normal Keys - A Simpler Explanation

I'm trying to better understand hardened keys and normal keys and how the former protects the rest of and HD wallet. Following on from the answer provided here: ELI5: What's the difference ...
3
votes
1answer
197 views

Elliptic Curve Point at Infinity

Let's take into account the Bitcoin curve. My questions are: What exactly is the "point at infinity"? Is there more than one "point at infinity" How can I identify if my EC generated x and y are the "...
2
votes
1answer
4k views

How to convert a WIF private key to a BIP32 extended private key

I am trying to recover the extended BIP32 master private key from its extended BIP32 public key (which I already know) and a WIF private key (which I obtained by decrypting a BIP38 seed with a ...
1
vote
1answer
1k views

Deriving hex private key from a HD wallet

I have the following test Mnemonic: stable primary already collect buffalo bike into robust fury cement proof agree neither blouse course From this I can generate a BIP39 Wallet: https://iancoleman....
0
votes
1answer
741 views

How can i switch from BIP32 to BIP44 using bitcoinj

i am working on a wallet that is using BIP32 for creating Accounts, addresses, xpub, public keys, transaction and etc. but now i want to switch from BIP32 to BIP 44. how can i do this using bitcoinj i ...
0
votes
1answer
65 views

What type of Bitcoin wallet is more secure than others?

What type of Bitcoin wallet is more secure than others among Paper wallet, Physical bitcoin, Mobile wallet and Web wallet ?
-1
votes
1answer
151 views

How genereate pub key from priv key ? algo

How to generate pub key from prive key ? All examples and explain skip this. but i dont need steps to address etc . i only need steps from priv to pub ( compressed or not ) what using at that. if ...
12
votes
2answers
3k views

Best Practices for hardened keys in HD wallets?

Essentially, I am seeking to know where in an HD wallet tree structure should hardened keys be used. For example: Shouldn't all child keys of the master extended key be hardened? Should all extended ...
7
votes
1answer
2k views

Determining xprv from xpub and child private key

I'm confused by the wording in BIP0032: One weakness that may not be immediately obvious, is that knowledge of a parent extended public key plus any non-hardened private key descending from it ...
6
votes
1answer
3k views

Recovering a HD wallet from a partial seed phrase

I am attempting to help recover a wallet where the owner only wrote down 11 of the 12 words in the seed phrase. Initially, I thought the task would be a quick and well-defined, but it appears to be a ...
5
votes
3answers
8k views

How to import a HD wallet from an extended private key

I'd like to export a derived private key from my Electrum HD wallet, and use it as a HD wallet master key in a Mycelium wallet. I used bx to get the key like this (m/2'/0) (where m is the unencrypted ...
4
votes
1answer
743 views

Clarification of BIP32 hierarchical deterministic multisig scripts

As everyone is aware, I'm a huge proponent of Vitalik Buterin's pybitcointools Python 2.7/3.x library. I am having a some trouble understanding the BIP32 concepts, which are coded in the deterministic/...
6
votes
1answer
2k views

How does Electrum make a keypair out of a seed?

Electrum uses a seed of 12 words to generate a keypair and then hierarchically generates addresses out of that keypair. I know how to generate hierarchic addresses from a keypair, but what I don't ...
4
votes
1answer
458 views

Is BIP 32 Technology Cryptographic Curve Agnostic?

Does BIP 32 always implicitly assume secp256k1 elliptic curve cryptography (ECC) is to be applied, or can BIP 32 technology also be applied to create extended public or private keys that can readily ...
4
votes
1answer
1k views

Is the "recovery phrase" generated by a wallet app platform independent?

I recently started a wallet with Coinbase Wallet, and I was asked to backup a 12 word "recovery phrase" that is supposed to be able to recover my wallet in the event that I delete the app from my ...
7
votes
3answers
9k views

How do I view the extended public key in Electrum?

Someone's asking for my extended public key. How do I view this? What are the consequences of giving this to someone? Can they steal my Bitcoins if I give this to someone?
4
votes
1answer
3k views

How to generate mycelium addresses from the 12 words in python

I am trying to re-generate the receiving addresses (and change addresses, for that matter) my mycelium wallet has generated. So far I've used trezor's implementation of BIP39 to generate the entropy ...
4
votes
3answers
2k views

is there a tool to produce addresses given a master public key?

I have master public key of my wallet and I want to generate addresses but without using my current wallet. Is there a tool that does that?
4
votes
2answers
3k views

I want to generate a BIP32 version number for Namecoin and other altcoins

I want to make a BIP32 wallet for Namecoin and other alt coins. I just need to figure out how to generate a a public and private version number so that the BIP32 extended key prefix is something that ...
3
votes
3answers
935 views

Why is HMAC-SHA512 used on root the root seed to create master private key and chain code in HD wallets?

The process is depicted in this picture. Specifically, given that the root seed was derived using PBKDF2 (with 2048 rounds of hashing with HMAC-SHA256 already), why do we undergo an additional pass of ...
2
votes
1answer
1k views

BIP44 external and internal accounts

Below I may be a bit verbose, so that if my understanding is wrong, it will be glaringly obvious. Consider two external accounts: The external accounts are used to receive bitcoin. When we search ...
2
votes
1answer
841 views

Bitcoin recovery - forgot my 12th recovery word for recovering my crypto account

I have managed to forget the last (12th) mnemonic word to my crypto-account. Could you please show me how I can find software with which I can enter recovery words from a file so that I can attempt ...
2
votes
1answer
444 views

What is the meaning of 'change' and 'reserve' in a Bitcoin Core wallet dump?

I'm using libwally to derive addresses from an extended private key. I shared the seed with Bitcoin Core (loaded it in a blank wallet with sethdseed), and noticed that there are 2 addresses in the ...
2
votes
1answer
729 views

generate HD addresses using publicKey Bip44

I'm just wondering if it's possible to generate HD address using xPub? I tried to create HD address using BitWASP-PHP with the following path: m / purpose' / coin_type' / account' / change / ...
1
vote
1answer
267 views

Why keys generated in Bitcoin Core mismatch that from online generators despite using the same seed?

I have the following problem in Bitcoin Core. With this command: echo carpet begin bacon master draft fortune food cherry cage axis vault clown | \ bx mnemonic-to-seed | \ bx hd-new -v 70615956 | \ ...
6
votes
1answer
579 views

Why is a chain code needed for entropy in HD wallets?

In the documents and articles I have read, it is stated that the "chain code" in HD wallets exists to provide entropy to the derivation of child public/private keys. If I understand the process ...
3
votes
3answers
3k views

How to link a bitcoin address to a wallet address?

BitGo has a feature where you can have multiple addresses under a wallet. The wallet also has its own address. Now suppose I have two addresses under my wallet. This means for any user to send me BTC, ...
3
votes
2answers
8k views

Get Master Private Key from BIP39 Seed

I have BIP39 Seed: 5b56c417303faa3fcba7e57400e120a0ca83ec5a4fc9ffba757fbe63fbd77a89a1a3be4c67196f57c39a88b76373733891bfaba16ed27a813ceed498804c0570 I want to get Master private Key Then I Have to ...
2
votes
3answers
1k views

Can my wallet lose funds because of the gap limit?

I want to accept BTC payments but I'm a bit worried about the gap limit. I've read our wallet could miss the funds beyond the gap limit if that happen. But I also read that we could fix that easily ...