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
3
votes
1answer
390 views

Does Ripple has support for HD wallets?

I know Bitcoin supports HD wallets. In simple terms, child keys are generated for the private and public keys. And the child key can be used to restore a wallet. I was wondering whether this kind of ...
0
votes
0answers
30 views

How to get private key from 12-word backup and public key? [duplicate]

It turned out, to one 12-word backup, billion address could belong. It is not always sure app like Copay found all the address contains money. Is it a way to infer the private key from 12-word ...
2
votes
2answers
763 views

BIP44 and change addresses

I always wondered why BIP44 HD wallet differentiate between internal change addresses (m/44'/0'/0'/1/*) and external receiving (m/44'/0'/0'/0/*)? Why do some wallets advice me not using internal ...
1
vote
1answer
170 views

BIP32 Neutered function

Can the following be clarified, where I am wrong: The Xpriv can derive a hardened xpriv. It can also derive a non hardened xpriv, which we will use with the neutered function to make it an xpub. ...
0
votes
2answers
130 views

If Two Cryptocurrencies use different curves, Can They be in the same HD Wallet?

I was looking through some code for HD Wallets and I saw that they used curve param.N which is specific for whichever curve is used. Does this mean that when using HD Wallets to derive Private keys, ...
2
votes
1answer
752 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
444 views

What does 44' mean in BIP44?

After reading BIP44, I saw Purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation. I believe 0x8000002C is 128 as an integer, how does this equate to 44' however? ...
0
votes
1answer
158 views

bitcoinTestnet Network returning a mainnet address

I'm using this code to get a new address from an extended public key: $index = 97; $change = false; $key = HierarchicalKeyFactory::fromExtended($tpubaddress, NetworkFactory::...
0
votes
1answer
275 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
1answer
89 views

Does copay accepts multiple payments?

I am a bit confused as to whether copay wallet accepts multiple payments to a single address based on the phrasing "wallet generates new addresses automatically once you use a bitcoin address once"......
4
votes
1answer
740 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 ...
2
votes
2answers
3k views

How to generate a new extended public key (xpub)?

I have a need to generate a new extended public key (xpub). Examples: xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz ...
0
votes
1answer
689 views

What is the difference between the mnemonic and the private key?

My thinking so far: If I have a private number, then I can use that as the private key. If I have a mnemonic, I can match up each word to a number in the wordlist to get the seed, which is the ...
2
votes
1answer
2k views

How do HD wallets use mnemonic to recover all private keys?

As I understand, a wallet like BRD wallet can have many private keys and receiving addresses. When I give them the mnemonic, how do they re-generate all of the relevant private keys from that ...
0
votes
1answer
592 views

Sending payments from an HD wallet

I found these two questions very helpful in understanding HD wallets 1) How do hierarchical deterministic wallets work transaction-wise? 2) a few questions about how HD wallet works However, I'm ...
0
votes
1answer
112 views

Extended keys and signing TX

I have couple of keys of path m/0/0 TPriv- Extended private key (pvt key+chain code) TPub- Extended public key (public key+chain code) Now I generate an address of of the TPub key and revived ...
4
votes
1answer
674 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 ...
0
votes
2answers
255 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
170 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 ...
5
votes
2answers
580 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
172 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
370 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
69 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
210 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
856 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
230 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
70 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
68 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
617 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
493 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
377 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
1answer
245 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
222 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
535 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. (...
1
vote
1answer
423 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
486 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
477 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
179 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
699 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
222 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
82 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
236 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
368 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
706 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
454 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
512 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
200 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
795 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
244 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?