A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
1answer
21 views

How Bitcoin Core calculate extended private masterkey from hdseed

I am testing a Bitcoin application, and to test the signing of transactions I use regtest with Bitcoin Core. But I have some problems, the first I have already published in a question that I still ...
2
votes
1answer
30 views

Why was the bip32 fingerprint used for bip174 psbt?

The fingerprint is widely used across the bip174 psbt specification. This is done to speedup parsing for a signer such that he can observe whether the master fingerprint for the public key for that ...
0
votes
1answer
14 views

Derived address different from CLI to NodeJS

Basically I'm trying to create a system in which each user has it's own address to deposit on the site, however I'm having issues with monitoring addresses as they appear to be different results ...
1
vote
1answer
56 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 | \ ...
1
vote
1answer
27 views

Why hardended xpub key cannot generate child public key?

I'm trying to understand bip32 hardened mechanism, but I'm confused about it. I got xpubKey from this site, and what I'm trying to do is demonstrate failure when trying to generate child pubkey from ...
2
votes
1answer
20 views

What is an extended fingerprint (xfp) and how does it differ from an xpub?

Coldcard requires the xfps of all of its cosigners to be able to verify and sign multisig transactions. Providing the coldcard with just the xpubs is not enough, which I believe to mean that the xfp ...
3
votes
0answers
26 views

Why do the xpubs from electrum and trezor not match when creating a multisig wallet?

For a little background, I am trying to set up a 2-of-3 multisig wallet with 2 trezors and a coldcard. I am trying to verify that my setup is correct before putting any meaningful amount of money in ...
0
votes
0answers
21 views

find bip32 seed from transaction

Based on my bip32 word list, I have a list of about 100k seed phrases that pass checksum and am trying to figure out my actual seed. Earlier, I was derivign the xpub key and searching the blockchain ...
0
votes
1answer
38 views

Why hasn't cold storage (offline signing) been supported by Bitcoin Core (GUI) up till now (0.19.0.1)?

Is there any deep reason not to support this? Or is this merely a "good idea, but no volunteers" situation? By the way, although Bitcoin Core had supported BIP32 several years ago, it uses hardened ...
1
vote
1answer
21 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 ...
0
votes
0answers
86 views

How to communicate with Bitcoin core 0.17 using bitcoinj for hd wallet creation?

Hi am building one hobby project and i want to perform some operations in my own bitcoin core 0.17 by using bitcoinj lib. so is there any way by which we can use bitcoin-core 0.17,bitcoinj for hd ...
0
votes
1answer
22 views

BIP32 funds not appearing in wallet

So I'm developing a system that generates addresses for users to send bitcoins too in order for them to deposit on the system. I generate addresses using the following: var derivedPubKey = config....
1
vote
1answer
34 views

Knowing if a public address is spendable by an HD seed?

I want to know if an address is spendable by an HD seed and for that purpose I am using the following command: > bitcoin-cli getaddressinfo 3LFc64RRd96ejjYvm14KaogBF9fmeNmePW | jq '.solvable' ...
1
vote
1answer
58 views

does bitcoin-core support bip44 HD wallet

If bitcoin-core does not support bip-44, is there any other node ?
0
votes
1answer
61 views

Does bitcoin core 0.18 support bip44,bip39 (HD wallet)

I am new to bitcoin. Struggling to implement HD wallet. goggled for the same but did not get satisfied answer. Can we create multiple seed in single bitcoin core server? If yes, then how we can ...
0
votes
0answers
17 views

How to generate a Child Public Key in HD wallets?

is the first param of CKD must be parent private key ? if i want to extended public key. can i do it like ChildPublicKey = CKD(parent_public_key,parent_chain_num,child_index_num)[0:256] or must ...
0
votes
1answer
43 views

Can I add inputs from different accounts coming from the same Bitcoin HDWallet?

Say I have 1000 users, each one with its own account with paths m/49'/0'/{user.id}', and I am controlling received/sent funds. Could I collect all the funds (i.e. inputs) in a sole fat transaction ...
0
votes
1answer
61 views

Try to migrate Bitcoin Core wallet to an HD wallet but get “St13runtime” exception

I am trying to follow these steps to migrate my wallet to an HD wallet. But it failed, the debug log has errors like this: EXCEPTION: St13runtime_error DeriveNewSeed: AddKeyPubKey failed bitcoin in ...
1
vote
1answer
42 views

Consequences of sibling keys when xpub and xprv are leaked

Let's say the following keys are leaked: 44'/60'/4'/0 extended private key 44'/60'/4'/0 extended public key (you can just derive this from the above private key) Now using the above information can ...
2
votes
1answer
51 views

What are the consequences from the leak of xpub and child private key?

Let's say the following keys are leaked: Extended public key derived from path 44'/60'/4' Leaked child private key from path 44'/60'/4'/0 Does that imply all the child private keys of the root 44'/...
2
votes
1answer
49 views

bip-schnorr and HD Key Derivation

Is it safe to use HD Key Derivation with bip-schnorr? The bip mentions that you should not throw away the first byte of a generated key. It is important to not mix up the 32-byte bip-schnorr public ...
3
votes
2answers
124 views

Is it possible to determine the index of a bip32 address?

Let's assume that we only have the bip32 derived btc address, no private or public key. Is it possible to find out its index used for the bip32 generation?
0
votes
1answer
49 views

Best script/pseudocode to convert xpriv to xpub?

I'm looking for a script/pseudocode/utility (preferably, code in javascript/c++ or a secure, verified and open-source rpc client) that can convert a given xpriv to xpub. Only one I've found (but not ...
1
vote
1answer
105 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 ...
1
vote
1answer
184 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
0answers
20 views

What heirarchical deterministic derivation path is used for FIDO authentication on a Ledger Nano S?

What heirarchical deterministic derivation path is used for FIDO authentication on a Ledger Nano S? Does it ask for a different key each time or is it always the same key? If I connect to Google for ...
1
vote
0answers
40 views

Does Electrum reveal a wallets public key to Electrum Servers?

When Electrum Bitcoin wallet queries a random Electrum Server does it send the public key to the server or does it send a batch of addresses to check? For instance, after setting up Electrum Personal ...
0
votes
1answer
43 views

Which BIP describes the structure and algorithm for creating a wallet file?

My app is able to create a public and private key from BIP39. The uncompressed private key is concatenated with a sha256 (private key) and then encrypted via AES and saved to a file. To decrypt, you ...
1
vote
1answer
99 views

Hardened address generation with BIP44 watch-only wallet with xpub

I am puzzled by the hardened key derivation from a watch-only BIP44 wallet. Let me first explain what I am trying to do. I am implementing a 2-of-3 multisig scheme I am using Bcoin node and wallet ...
1
vote
0answers
79 views

How to send & receive bitcoin using bitcoinjs-lib?

First I create HD Wallet using BIP32 using mnemonics. Now I want to generate new child addresses with private key using xpub & xpriv for every receive. Then for example, I received BTC in 2 ...
0
votes
1answer
255 views

Bip32 bitcoin core wallet `hdseed` format from xprv master key

I'm trying to use a mnemonic seed to generate a bitcoin-core wallet. I know core does not support bip39, but it does support bip32 and sethdseed should make it possible to use the seed generated by a ...
1
vote
1answer
36 views

Creating a multisig wallet with bcoin and receiving transactions

I am trying to create a multisig wallet from two externally generated xpubs. The process I am taking is to create two multisig wallets with the two xpubs, add each others keys as shared keys and ...
3
votes
1answer
68 views

Linking Bitcoin addresses based on a private key - is that possible

I have seen a claim as follows: [We] apply algorithms to detect which bitcoin addresses are sharing the same private keys. In most cases, this leads to a high-level assertion of certain addresses ...
0
votes
0answers
70 views

How to create generate addresses for multiple crypto currencies

I am trying to understand how to generate addresses from 1 mnemonic for multiple cryptocurrencies. I needed a read-only wallet, so I guess I need to use an xpub key. But I am struggling to ...
0
votes
2answers
245 views

Bitcoin address generation and UTXO scanning

I'm developing bitcoin payment processing application. I've two question to ask: In each bip32 address, How much UTXO each address should have to consider generating new address to avoid address re-...
0
votes
1answer
40 views

How does Trezor recover all public keys from different blockchains?

I understand that the Trezor is a HD wallet, meaning private-public keys are generated through a deterministic, hierarchical expansion of the root seed. However, when I am in a process of recovering ...
0
votes
1answer
43 views

2nd 'air-gapped' computer / cold wallet setup for travel

I travel quite a bit and don't want to lug around a 2nd 'air-gapped' computer. I know that connecting a hardware wallet like a Ledger Nano S to the Ledger Live desktop app running on a computer that's ...
3
votes
1answer
32 views

What's the consensus on using a non-networked VM as a cold wallet/airgapped computer?

I'm wondering if connecting a hardware wallet like a Ledger Nano S to the Ledger Live desktop app running on a computer that's connected to the internet not considered a 'fully cold' wallet setup. How ...
0
votes
0answers
57 views

How to validate derivePath for HDWallet?

I am generating addresses for HDWallet while importing account using the Mnemonic Phrase. So I am letting the user enter Mnemonic Phrase and derivePath both. Before generating addresses, I want to ...
0
votes
1answer
116 views

Procedure for Deriving Payment Addresses

I'm trying to understand the HD wallet payment derivation procedure, so assume: Ownership of a Bitcoin HD Wallet on an external smart device Exported account level extended public key (xpub....) from ...
0
votes
1answer
46 views

Does Bitcoin Core still use “Bitcoin seed” in addition to a seed like stated in BIP 32?

In BIP 32 it's stated that a Master Private key is generated by hashing the concatenation of a random seed and the string "Bitcoin seed". And is like so in the example implementations. But I couldn't ...
0
votes
1answer
24 views

is Gap Limit only for consecutive address?

Suppose we generated 35 address, 1 to 5 are paid, 6 to 34 not paid/used and 35 paid. Because of 20 gap limit we won't see 35 in our wallet, but what happen if we send some money to address 19 for ...
1
vote
2answers
671 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
0answers
11 views

Restoring an HD wallet tree [duplicate]

I saw this question: How does restoring an HD wallet work? I think the answer fits to a chain wallet (Seed) and the process is different while it's on a tree. I still don't understand how the ...
0
votes
1answer
116 views

Understanding default bitcoin wallet in bitcoind

I am new to block-chain, so please bear with my questions. I need to understand the basics of a bitcoin-wallet. So I have setup a bitcoin full node using bitcoind in running in testnet mode. As I ...
0
votes
0answers
13 views

Calculating the HD Wallet Balance [duplicate]

While the notion of a balance is not strictly correct in the context of a wallet, it is something that has presented some confusion for me in the context of an HD wallet, especially when importing a ...
4
votes
1answer
147 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 ...
0
votes
0answers
62 views

HSM for Hierarchical Deterministic Wallet

I'd like to use a small HSM to manage an HD Bitcoin wallet (BIP32). The HSM does have to correct ECDSA curve, secp256k1, can generate keypair, and sign. My challenge comes from the HD part. In ...
0
votes
1answer
209 views

What's the magic key version bytes for BIP49

I'm implementing BIP49-compatible key derivation for bitcoin-s, but I'm having a hard time finding the magic version bytes to use for the extended keys. I've been looking at BIP49, but can't find ...
1
vote
1answer
200 views

Why seed from BIP39 mnemonic phrase is much longer than entropy?

BIP39 converts mnemonic "zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo wrong" to the fairly long seed "...