Questions tagged [bip-32-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
22
votes
2answers
34k 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". It's ...
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 ...
4
votes
1answer
692 views

How Do HD Wallets Keep Track of all accounts?

If a HD Wallet generates 1,000 accounts for example. How would they keep track of all of the account's balances, if someone for example, paid into the 455th account, they would want to update the ...
5
votes
1answer
2k 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 ...
7
votes
1answer
733 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 ...
4
votes
1answer
653 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 ...
1
vote
1answer
2k 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/
32
votes
1answer
4k 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 ...
18
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 ...
9
votes
3answers
6k 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
3k views

difference between Master Public/private Key and Public/private Key?

what is difference between Master Public Key (MPK) and Public Key? what is difference between Master Private Key and Private Key? should I use master public key (MPK) when generating address or public ...
2
votes
1answer
2k 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
318 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
43 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 ?
14
votes
4answers
10k 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 Public ...
11
votes
3answers
4k 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 ...
10
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 ...
6
votes
1answer
2k 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 ...
4
votes
1answer
627 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/...
4
votes
3answers
6k 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 ...
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 ...
6
votes
3answers
1k views

What BIP32 derivation path does Electrum use for Multisig?

Same question as What BIP32 derivation path does Electrum use? but for multisig. thanks.
5
votes
3answers
5k 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
1k 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' (...
4
votes
2answers
2k 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 ...
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?
3
votes
1answer
230 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 ...
2
votes
2answers
1k 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?
2
votes
1answer
2k 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 ...
2
votes
1answer
724 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 ...
8
votes
1answer
3k 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
3answers
1k views

What wallets currently support RBF?

What wallets currently support RBF? Is there some workaround if they don't?
4
votes
1answer
310 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 ...
4
votes
1answer
85 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 ...
2
votes
1answer
681 views

Address generator for Bitcoin wallet

As describe by Maxwell here in HD wallets assuming we have a key pair with private key SK.a and public key of PK.a and a seed s and a generator point G, we can generate a new key pair of (SK.b, PK.b) ...
2
votes
2answers
631 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 ...
2
votes
0answers
79 views

Bitcoin-core restored HD wallet reusing payment address? [duplicate]

As I was testing my new bitcoin core HD wallet through the bitcoin-qt interface (v0.13.0), when using Receive > Request payment I realized that I was presented with the a payment address which had ...
2
votes
3answers
478 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 ...
1
vote
2answers
597 views

Gap Limit, is always a problem possible to fix?

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 ...
0
votes
3answers
324 views

What is the advantage of HD Wallets?

I have read man resources and questions about HD Wallets. As pointed out in this question on SO, it won't be possible to send funds of a derived child address using the master private key. In my ...
0
votes
1answer
464 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
2answers
632 views

Get Master Private Key from BIP39 Seed

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

Bitcoin system with payins and payouts using bip32

I want to build an automated system, that can accept payments from users in bitcoin and can make payouts to addresses, specified by users, as well. BIP32 says, that the best way to accept payments is ...
0
votes
1answer
268 views

SPV Wallets vs API Wallets - Pragmatic

From what I know, the only advantage of an SPV node compared to a API Node, is the increase in privacy. SPV nodes take up more bandwidth, in order to stay synced with the current chain and in some ...
0
votes
2answers
119 views

Do wallets save a backup of my private keys and seed?

Let's say that I do not trust a lot in myself and my ability to not screw my computer, so also my private keys. Knowing the concept of wallet HD and having seeds to recover all your private keys ...