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
1
vote
1answer
513 views

wallet.dat size in Bitcoin Core

Just created a new wallet using Bitcoin Core v0.15.1 (Windows x64), encrypted it with a password, and created one receiving address. The size of this wallet is 1 Mb. In comparison, my old wallet, ...
1
vote
1answer
478 views

Where is seed in Bitcoin Core in comparison to Bread Wallet

Im new to Bitcoin. I know the main software of bitcoin is Bitcoin Core. Recently i started using an iOS wallet called Bread. Its very simple! It gives me a 12 word key and says your master private key ...
0
votes
1answer
722 views

How to list all the HD address in Electrum?

I tried to restore all my HD address by importing my xprv in new wallet file but it only shows 20 addresses. How can I make it show all the child addresses of my xprv?
6
votes
1answer
580 views

If a single private key of the HD bitcoin account is compromised, is the whole HD account compromised?

The subject pretty much asks it all. I asked the same question on the Mycelium web site but did not get an answer. An HD account can have multiple private keys. Suppose one of the previous private ...
3
votes
3answers
4k views

How can I check a public master address balance?

I have an extended public key, I need to check it's balance (I have no connection to wallet), is there a third party service for that ? Edit: This is not a bitcoin address. This generates multiple ...
2
votes
2answers
1k views

How can I generate a Bitcoin address from a 12 word seed without using a computer?

I have a 12 word seed and I want to generate an address without exposing it to any computers. How can I accomplish this?
2
votes
1answer
995 views

Cannot recover wallet from 12 word BIP 39 seed generated by Bread Wallet on iOS

I still have access to my Bread Wallet on iOS, but I'm trying to test my setup and make sure that I can recover my wallet if for some reason Bread wallet didn't work or if I simply wanted to change ...
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 ...
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 ...
3
votes
0answers
237 views

How do you regenerate all 2-of-2 multisig addresses from two xPrivkeys?

If I want to get the private and public keys of all transactions that have happened on my multisig wallet. How would I do that? It's a 2-of-2 multisig setup. I have an xPrivkey on my computer and an ...
2
votes
1answer
135 views

Edge cases for BIP32

I'm trying to code up BIP0032, with full test coverage and I hit a snag with these very rare edge cases: Private parent key → private child key In case parse256(IL) ≥ n or ki = 0, the ...
2
votes
2answers
383 views

Electrum: How to generate hardened public addresses with HD BIP32 wallet

Please comment on the accuracy of this explanation. Scenario: The master public key is compromised and so all non-hardened public addresses can be generated and monitored by a third party. This ...
3
votes
1answer
241 views

can parent private key sign a transaction created by a child address?

like this: I have a private key P, and via a HDchain, it creates a child address addrChild with a child key pair: priKeyChild and pubKeyChild. When I create a rawTransaction with the addrChild, I ...
5
votes
1answer
1k 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 ...
2
votes
3answers
483 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
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?
1
vote
1answer
518 views

Can encrypted private keys (BIP-38) be generated from HD wallets (BIP-32)?

I am aware that the introduction of BIP-38 resulted in a standard for passphrase-based encrypted private keys utilizing AES. What is not clear to me is whether these can be generated from HD wallets? ...
0
votes
1answer
286 views

Why is the root seed of an HD wallet undergo an additional HMAC-SHA512 hash to generate the master private key and master chain code?

From what I understand, the wallet seed is created by inputting into PBKDF2 (using HMAC-SHA512 of which 2048 rounds are applied) a bunch of mnemonic code words and an optional salt (defaulted to "...
1
vote
1answer
68 views

Is it possible to check if an Address was generated from an HD Public Key.

Suppose I know a specific address and I know a full HD Public Key. Is it possible to determine if the address is a hash of one public keys generated from the HD public key in constant time, or in ...
1
vote
1answer
427 views

NBitcoin and Mnemonic Standards

I am very new to Bitcoin development so forgive me... I'm using NBitcoin in a .Net console app to generate a master key using a mnemonic and then derive hierarchical keys. Here is the code I am using:...
0
votes
1answer
218 views

“request coins” address is different to top right qr code

Bitcoin wallet app (android app). I'm familiar with how an Hierarchical Deterministic wallet generates addresses, but I'm confused by the ever changing address of "receive coins" button in the bottom ...
0
votes
1answer
192 views

Blockchain.info has a service to list all the transactions which involve a bitcoin addresses generated using a given xpub.How does this work?

As per my understanding, there could be infinite addresses which can be generated, so how does this work? Link: https://blockchain.info/xpub/...
6
votes
1answer
6k views

How to get public master key of a Ledger wallet?

I have a ledger Nano S and would like to know how to extract the public master key of its wallet, in order to do HD key derivation in an external process. Is there a way or is this info never exposed ...
0
votes
1answer
1k views

HD wallet implementation

I want to create public addresses in offline browser from master public key so that owner of master private can access the funds available in child address. but I am not able to understand how to use ...
2
votes
2answers
1k views

BIP44 generation tool has Account xpubkey & bip32 xpubkey, what's the difference?

recently i played with the tool generation of HD address on https://iancoleman.github.io/bip39/. after input mnemonic code and check the derivation path, why is there Account Extended Public Key & ...
1
vote
0answers
190 views

Creating HD wallets with BouncyCastle in C#?

I'm trying to write a class that can be used to generate public/private key pairs for bitcoin (and any of its 'clones'), I found some code elsewhere that uses BouncyCastle to generate keys, here's the ...
0
votes
1answer
1k views

Wallet: how to generate public extended key?

As far as I understand, when I want to create an HD Wallet, do I need a private key that is derived into an extended public key? So, my question is, if I am coding a portfolio of bitcoin in java, how ...
5
votes
1answer
1k views

How do I remove Wallet from Bcoin?

I'm playing with bcoin cli and created lots of wallets. Is there any way to remove wallet via WalletDB Api?
-1
votes
3answers
481 views

can I use same wallet/private keys twice

can i use the seed words of my online blockchain.info wallet on a trezor so i create a trezor wallet which has the same private keys as my blockchain.info wallet?And in the future i will only use my ...
3
votes
0answers
390 views

Electrum Seed Purpose for MultiSig Wallet

I'm curious as to what exactly is protected by the seed that Electrum generates for a multisig wallet. My knowledge of the protocol implementation is rather basic, so please correct me where I'm wrong ...
1
vote
1answer
689 views

How to generate random addresses from public key such that they're recoverable later using pub key only

I head that from a public key, you can generate random addresses just by adding a nonce to the public key. Then, you can regenerate all these addresses again when you need, right? If my wallet has ...
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 ...
1
vote
1answer
3k views

BIP32 derivation path

Why does BIP32 use the derivation path m/0'/0'/k' by default? What is the significance of this particular path, and why not just use m/k' or m/k directly?
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 ...
2
votes
1answer
2k views

Unplugged Trezor when incoming transaction was unconfirmed

I transferred some bitcoins from one of my online wallet to my Trezor. When the transaction is in unconfirmed mode I unplugged my Trezor. Then after I plugin my Trezor that transaction somehow did not ...
9
votes
1answer
4k views

Is the Electrum seed compatible with other wallets?

Apologies if this is a simple question - a newbie here! I'm trying to understand backups. If I use Electrum to make a back up (including the 12 word seed password), will I then need to use Electrum to ...
1
vote
0answers
2k views

How to dump all private key from wallet.dat (walletversion > 130000)?

I tried to use pywallet and it can't dump all of the wallet's private keys. When I send 10 transactions & decode raw transactions, I will get 10 new addresses, but I can't dump all of the private ...
0
votes
1answer
334 views

API to know if bitcoin-core has the private key (in the wallet.dat file) of a certain Bitcoin address?

Does the bitcoin-core client have any RPC API to query the key pool? I have certain bitcoin address which I want to check if the wallet has access to (either via private key or via HD-private key ...
3
votes
1answer
836 views

BIP 32 seed resulting in an invalid private key

everyone. For my final year project, I'm developing some Bitcoin/Bitcoin related technologies (BIP32, BIP 38, BIP39, Bas58Check encoding/decoding, etc) in pure Node.js (using only native libraries, ...
3
votes
1answer
2k views

Does Bitcoin Core support watch-only wallets?

Is it possible to use Bitcoin Core in a watch-only mode? I want to be able to generate new addresses in an online instance of Bitcoin Core, but keep the private keys separate on another local Bitcoin ...
2
votes
1answer
550 views

How to work out the balance for an HD Wallet extended private key?

I am working in C# with NBitcoin. I have created an extended master private key, and I can create the hierarchy of derived keys. In TestNet, I have requested some coin from a faucet, and the ...
9
votes
1answer
4k 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 ...
2
votes
1answer
104 views

Are there wallets that provide access to different HD wallets from the same masterseed using different passphrases?

I have a well-protected masterseed that I have not memorized, and memorizing it won't help since it could already be compromised. My solution is to use a clever passphrase on top of that masterseed. ...
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.
1
vote
0answers
124 views

HD P2SH Wallets Compatibility with P2WPKH

Are BIP32 Hierarchal Deterministic compatible with P2SH addresses? Not as multisig but instead for the new P2WPKH?
2
votes
1answer
151 views

Given a set of consecutive HD private keys, can you generate the next private key without knowing the master private key?

I'm wondering whether disclosing a consecutive number of HD private keys derived from a given master key would allow someone to compute what the next private key in the sequence would be before it is ...
1
vote
0answers
320 views

I forgot the index of my BIP32 key

I had chosen at random an index for storing some bitcoins. My key derivation path is Bip32 m/0h/1 How would I go about generating all 2 billion keys and check which one has the funds I stored? The ...
1
vote
1answer
712 views

What makes HD wallets resistant to brute force attacks?

To be more specific, let's consider wallets that use 12 words as a seed. Total bit width is 132, with 4 bits used as a checksum, so the actual seed size is 128 bits. I know 2^128 allows for LOTS of ...
0
votes
1answer
69 views

Can I spend utxos from various bip32 subwallets in only one transaction?

I want to redeem bitcoin received into several bip32 subwallets in only one transaction. Is that possible? I've tried using pycoin's ku utility to generate a tpub and a wif from a tprv. I'm using the ...
1
vote
3answers
2k views

What bitcoin wallets support bip32 extended public key export?

I'm looking for a bitcoin wallet, that can export an extended public key. I want to put that key on a server, generate a chain of addresses and receive bitcoins, and be sure, that my bitcoins are safe ...