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
0
votes
2answers
281 views

BIP 44 master private key sign tx

I have this Bip44 path implemented m / purpose' / coin_type' / account' / change / address_index Is it possible to use the Master private key to sign all the tx ie. Bitcoin TX, Etherum TX or do I ...
0
votes
1answer
182 views

Electrum 2of2 multisig both cosigners share the same priv key

I set up this wallet on the same machine online. Thinking that was it, it was only until i sent funds to this wallet and tried to spend them that i could only partially sign the transaction. I opened ...
6
votes
2answers
807 views

BIP32 recommends a 256 bit seed. Why do most Bitcoin wallets only use a 128 bit seed?

According to BIP32's "Master key generation" section, "256 bits is advised". See https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#Master_key_generation Why did BIP32 consider 256 bits ...
1
vote
0answers
190 views

Stateless vs Stateful wallets

Stateless wallet are wallets that do not store any information locally on the device. Stateful wallets are wallets that store information such as index of unused address. According to my ...
1
vote
1answer
459 views

Bech32-P2WSH BIP32 derivation path

I know that the deriving path for Bech32 is 84, but what about P2WSH addresses path is it the same? I've been reading https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki but nothing on ...
1
vote
0answers
70 views

How to list non-HD addresses in bitcoin core?

Let's say I imported some private keys, how do I distinguish between those and addresses generated from the HD master key?
0
votes
1answer
263 views

Does BIP44 key derivation path protects private keys derived within same account?

I understand that with Un-hardened parent extended public key child private key This will leads to compromise of parent private key and so all the private keys of siblings BIP44 suggests the path ...
1
vote
1answer
1k views

How many combinations are there from the BIP32 mnemonic list?

As I understand for BIP32. There are 2048 words. 12 words would give you 2048^12 combinations. However, not all combinations are valid because of the checksum, so how do i calculate the actual space?...
0
votes
1answer
292 views

Public Chain Code and MPK

When the Master Private Key and the Master Public Key are generated, can I disclose the chain code as say BIP32? If not, how can is possible verify a child public key with public parameters? This is ...
2
votes
1answer
74 views

How could you differentiate if the bitcoin address is from master node or derived nodes?

Given that I have these two random generated bitcoin testnet addresses, could you tell if it is the bitcoin testnet, master node or derived nodes, if we discuss bip-0032 spec (Master key generation)? ...
0
votes
1answer
72 views

Can I retrieve funds in a derived address with a high index?

I sent funds to a derived address, but I didn't know about the gap limit and how the addresses should be used incrementally. I've used a huge value for the index but wallets only check the first few ...
0
votes
1answer
750 views

Ripple secret key

I am adding Ripple to my HD Wallet. To be compatible with other HD wallet, I need to use bip32/bip44 paths. So I will use such approaches: https://github.com/iancoleman/bip39 https://github.com/...
0
votes
1answer
577 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
486 views

Can I use root used to create multiple BIP32 addresses, to spend transactions belonging to these multiple BIP32 addresses?

I want to accept BTC from different clients during an ICO, for this, I'm planning to use a combination of BIP32 and BIP39. var bip39 = require("bip39"); var bitcoin = require("bitcoinjs-lib"); var ...
1
vote
2answers
309 views

mnemonics for ripple wallet

I am trying to write a ripple wallet. I want it to be HD wallet. So I am generating 12 word mnemonics but I am not sure how to give this as a seed to ripple javascript api. See: https://ripple.com/...
1
vote
1answer
260 views

What is the meaning and application of the apostrophes in derivation paths of BIP32 / BIP44?

Can we please clarify if there is any difference (because apparently some technical documentation explicitly requests to include apostrophes) between a derivation from extended private key (xprv) or ...
1
vote
1answer
659 views

Create Sign and send bitcoin transaction using HD wallet

I am new in bitcoin. I want to implement a bitcoin payment system. I am using blockcypher's API. Suppose we have an hd wallet "myhdwallet" and we have driven 2 addresses using xpub for my hd wallet. (...
2
votes
1answer
507 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 / ...
0
votes
0answers
566 views

How do I get my master public key from a wallet?

If a HD wallet only gives me the 12 word mnemonic, how can one get the master public key?
0
votes
1answer
526 views

BIP32 HD Wallets: HMAC vs. “just” Hashing the Seed

In A. Antonopoulus' Mastering Bitcoin (2nd edition) on page 106, there is a nice illustration showing how the basis for a BIP32 HD Wallet is generated: So here is the one thing I don't understand ...
0
votes
1answer
209 views

BIP32 child addresses - anyway to corelate them?

Since BIP32 child keys are derived from a master xpub key, and child addresses are the pubkey hash of the child private keys, so is it possible/anyway to correlate that two address are derived from ...
1
vote
1answer
811 views

How To Traverse Bitcoin Addresses in HD Wallet

It appears that there are many way to traverse Bitcoin addresses. I am looking best practice, and I am also looking for the documented logic of how common wallets do it so I can replicate their ...
0
votes
1answer
263 views

What key derivation function uses Electrum / how generates private key?

I know some brain wallets are using scrypt as the key derivation function and AFAIK scrypt is a good derivation function as it is deliberately slow and makes use of big amount of both CPU and Memory, ...
2
votes
1answer
91 views

Hardware wallet without a hardware wallet

I want to do some research in order to purchase a hardware wallet. Until I have decided what to do, I would like to transfer my bitcoin balance out of the exchange that I am currently using. I want to ...
1
vote
1answer
251 views

Seed recovery strategy

I got locked out of my Ledger Nano S. When setting up the device I was given a 24 words seed passphrase, which I wrote down. The device asked me to verify 3 of the 24 words and my input was valid. It ...
2
votes
1answer
401 views

bip44 address generation

I am writing hd wallet following bip44. After each transaction, should I create a brand new change address each time? Or can I use the same change address multiple times? What is the recommended ...
2
votes
1answer
846 views

Generate addresses from Trezor's xPub using Python

I am trying to generate BIP32 HD addresses from my Trezors xPub key. I keep getting errors with most of the libs our there. What am I missing? pywallet: from pywallet import wallet xpub = '...
2
votes
1answer
518 views

Mnemonic seed BIP 39 HD wallet with vanity address

Can we create a mnemonic seed BIP 39 HD wallet with vanity address for LITECOIN, if yes, how?
2
votes
1answer
570 views

Does bitcoind (as of 0.15) support BIP39 mnemonic phrase for wallets?

Can bitcoind print out a BIP39 seed phrase to backup the wallet? Can I import a BIP39 seed phrase (from, for example, Breadwallet on iOS)into bitcoind? I know bitcoind wallets have been BIP32 format ...
2
votes
1answer
242 views

Electrum 2FA Wallet - Deriving the Third XPub

I'm working on a project which requires me to take an Electrum mnemonic, determine its type and derive the corresponding addresses for that wallet. I found lots of information on how to determine the ...
2
votes
1answer
872 views

Why are there multiple input addresses in one transaction and are they linkable to one single address?

For example, see this transaction: https://blockchain.info/de/tx/517c634fcf802bb8114516bc32718acf8a4e360decb7d93859e913f958d7bb6d In my understanding, the bunch of input addresses (usually) come from ...
2
votes
1answer
268 views

HD Wallets - Why Extend a Private Key with addition? (Non Hardened)

As I currently understand, there exist two methods for extending keys in a hierarchical deterministic wallet: regular derivation, and hardened derivation. Hardened derivation essentially “breaks the ...
1
vote
3answers
1k views

Unsure order of 12 word mnemonic

I have a 12 word mnemonic but I'm unsure of the order, I know that the BIP39 mnemonics use a checksum, are there any tools I can use to re-order the 12 words correctly so that they pass the checksum?
1
vote
1answer
551 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
521 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
830 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?
7
votes
1answer
633 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 ...
4
votes
4answers
5k 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
1k 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 ...
13
votes
3answers
5k 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
1answer
253 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
145 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
3answers
464 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
249 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
547 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
555 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? ...

1 2 3
4
5
7