Questions tagged [bip32-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
0 answers
24 views

What are valid BIP32 version bytes in descriptors & optional key origin defaults?

BIP49 & BIP84 defined different BIP32 version bytes so that serialized xpubs start with ypub/zpub/upub/vpub. This led to some incompatibility in the past with wallets and libraries that used (or ...
  • 141
0 votes
1 answer
49 views

A way to access all child addresses from HD wallet xpub

Is it possible to retrieve all the infinite addresses of a HD wallet from just its parent public key?
0 votes
0 answers
24 views

HD wallet usage in Bitcoin & Lightning combined wallets

Is there a best practice / recommendation for a Bitcoin & Lightning combined wallet, regarding the HD wallet used in the Bitcoin wallet and the HD wallet used in the Lightning wallet? no relation,...
  • 201
1 vote
1 answer
52 views

The left-half 256 bits of the hash are added to the parent key to produce the child private key

So in mastering bitcoin it mentioned that to generate child key,The left-half 256 bits of the hash are added to the parent key so if we add that it will be 512 bits.But we need 256 bit so do we hash ...
  • 31
0 votes
1 answer
55 views

To what extent does BIP32 key derivation impact the design of secure key aggregation multisig and threshold schemes like MuSig and FROST?

I have seen it discussed in various places (e.g. 1, 2) that using BIP32 key derivation impacts the design of secure key aggregation multisig and threshold schemes like MuSig(2) and FROST. What are the ...
3 votes
2 answers
267 views

Is it possible to identify UTXOs signed by HD wallets?

I was wondering if the fact that a transaction was created by an HD wallet can be somehow read off from the UTXO, or any other data available in the blockchain. Theoretically, it is not required in ...
0 votes
1 answer
72 views

Why my manually generated mnemonic seed phrase is not recognised by metamask or trust wallet

I created a random entropy using this code func randomNumGenerator() []byte { n := 16 randomByte := make([]byte, n) _, err := rand.Read(randomByte) if err != nil { panic(err) ...
  • 31
1 vote
1 answer
109 views

Retrieve extended private key from child keys or sibling keys

I've looked through the various questions and answers regarding this topic but I can't find the answers to mine. I lost access to my wallet since calling encryptwallet which crashed the bitcoin ...
  • 13
3 votes
1 answer
110 views

musig2 with BIP-32 style nonce chain

I am interested in the case where a fixed pool of signers will sign a series of many messages. As I understand it, musig2 would allow pre-processing, whereby a signature aggregator could collect a ...
0 votes
0 answers
20 views

Why bitcoin signature generated by javacard Applet orspecially Satochip Applet is not verified?

Suppose that I want to develop a sample test application using Satochip Applet for creation and sending bitcoin transactions programmatically.I pass a transaction hash to Applet and get a transaction ...
0 votes
1 answer
62 views

Most common derivation Paths, accounts and indexes

can anyone tell me what the most used derivation paths are? Someone on reddit wrote that coinbase use this path: m/44'/0'/0'/0/0. Do other companies use the same path? Also do big companies always ...
  • 13
1 vote
1 answer
174 views

Generate Public Keys from Extended Public Key in python

I want to get a normal Public Key from an extended Public Key in Python. Actually I want to get the same result as here in the Extended Public Key Children section. I know I need this structure: ...
  • 13
0 votes
1 answer
181 views

get extended public key from extended private key in python

Can anyone tell me how I can get the extended public key from an extended private key in python. I know that I need to get the public key from the private key and that the public key + chain key = ...
  • 13
1 vote
2 answers
94 views

Can I verify a child public key derived from its parent public key without involving any private keys and child index?

I have a extended private key, I'm creating multiple child private key / public key pair. If want to verify that the child public is derived from the parent public key. Can I do that? Thanks in ...
0 votes
0 answers
63 views

How are crypto wallets derived? Specifically the BIP32 Root key

I realize this is a very broad question. I'm not getting helpful resources from anywhere. White papers don't really explain the code, YouTube videos are vague or abstract, demonstration sites don't ...
0 votes
1 answer
46 views

manage all HD wallet accounts from a single point

I have an app in which users deposit bitcoins to increase their credit in the website to have access to some specific stuff. So the way I'm thinking to implement this is by using an HD wallet in which ...
1 vote
1 answer
302 views

How to get Private Keys for the corresponding HD generated Child Public Keys?

If we take a look at the Mastering Bitcoin book by Antonopoulos it is explained how to derive child keys as described in BIP-32: From this image it is easily visible that we can use parent public key ...
  • 57
2 votes
1 answer
627 views

Uncaught TypeError: bip32.fromSeed is not a function

I am trying to run the below code to print the private key, the Public key and the mnemonics, but getting Uncaught TypeError: bip32.fromSeed is not a function : //Import dependencies const bip32 = ...
0 votes
3 answers
67 views

HD wallet: Can an external party relate addresses?

DISCLAIMER: This question is not strictly for Bitcoin but a general question about wallets and any cryptocurrency. Hi there! Is it possible to relate 2 different addresses generated from an HD wallet (...
1 vote
1 answer
168 views

BIP85: Is the list of mnemonic sentences deterministically ordered?

There aren't many working implementations of BIP85 yet. Ian Coleman's, Grondilu just added support to their Bitcoin Bash Tools, COLDCARDwallet, AirGap Vault and the Python demonstration library https:/...
  • 405
1 vote
1 answer
85 views

Does derivation from public and private keys give the same result in normal key derivation?

I am reading about key derivation in chapter 5 of the book "Mastering Bitcoin" by Andreas, along with this detailed thread and BIP-32. Here are some of my understanding about these two ...
1 vote
2 answers
160 views

Can't get the bip32masterkey from mnemonic seed (Python)

I'm trying to understandand implement the functioning of Hierarchical deterministic wallets. But I can't get the bip32masterkey based on this tutorial : https://medium.com/mycrypto/the-journey-from-...
  • 37
0 votes
1 answer
156 views

how to get masterkey and consequent wallet keys from root seed?

So basically i am trying to create my own crypto wallet application in python, i have generated the random entropy, calculated the checksum, generated the 12 words and then generated the root seed ...
0 votes
0 answers
60 views

Why doesn't my wallet balance line up with sent and received amounts on Blockcypher?

I created an HD wallet using Blockcypher API. I've sent to this wallet a total of 120,000 satoshis in 3 different transactions: 50,000 satoshis 30,000 satoshis 40,000 satoshis As I'm calling ...
  • 137
0 votes
1 answer
217 views

How does the Bitcoin Core wallet generate entropy for the HD seed?

How does the Bitcoin Core wallet generate entropy for the HD (Hierarchical Deterministic) seed and ultimately the private keys? This post asks a related question but doesn't focus on the entropy part, ...
0 votes
1 answer
66 views

HD wallet parameters clarification

I'm using HD Address Generator to create an HD wallet: let mnemonic = "voyage blind unit shoulder yellow attitude mule all hire above obvious swap" let bip84 = HdAddGen.withMnemonic(mnemonic,...
  • 137
1 vote
1 answer
85 views

BIP 32 CKDpriv not working in my python implementation

I have been working on implementing BIP 32 in Python. This is my code for deriving normal (not hardened) child keys as part of an HD_Key class: def CKDpriv(self, index): key = bytes.fromhex(self.c)...
  • 35
0 votes
1 answer
77 views

Creating HD wallet using Blockcypher

I'm using Blockcypher to create an HD wallet, which requires me to send extended_public_key. How do I create the extended keys? While generating a new address using the API I'm getting something like: ...
  • 137
0 votes
3 answers
359 views

Lost 3 words out of 12, and not sure of order, mnemonic seed

I lost 3 words out 12 and not sure of the order of the rest besides the first 3, and the last one. I wrote a Python script with mnemonic and the crypto.com wallet library, it works, to my knowledge ...
  • 1
0 votes
1 answer
63 views

Why is an extended private key needed?

In a wallet that uses BIP-32, if an extended public key can be used to generate child public keys, in what case is an extended private key needed?
  • 125
1 vote
0 answers
231 views

Generating HD Wallet Addresses in Java Using Bitcoinj

Is there some method that can be used to get the address, private and public key for any type of supported coin in a HD wallet? I can correctly generate these for Ethereum, which I verified on https://...
0 votes
1 answer
133 views

How do exchanges manage deposits and withdrawals?

Suppose users on an exchange deposit bitcoin to different addresses using the HD wallet structure. Now suppose a user wants to withdraw bitcoin to an external address. How would this whole process be ...
1 vote
1 answer
185 views

Bitcoin address gap limit

I know there are a lot of posts on this issue but the majority of them are quite old. Is there a more modern and "simple" solution for the address gap limit problem? For what I've read, the ...
  • 123
2 votes
1 answer
147 views

Having trouble creating a Python function that creates non-hardened HD wallet child keys

I am coding my own keys (not for use in production, strictly for learning). I am successfully creating 512 bit seeds from mnemonic phrases, however I am failing at the step of deriving child keys from ...
  • 41
0 votes
1 answer
129 views

Which "address" should be used when wallet is made with iancoleman page?

If I have generated / choosen the 12 word memnonic with bip39 here https://iancoleman.io/bip39/ which address I should fill in Binance as the destination address when withdrowing coins? Account ...
  • 388
0 votes
0 answers
132 views

How to write down an entire Bitcoin Core wallet through text

I have unclear ideas and I write because I would like some good soul to clear them up. I'm looking for a way to be able to recover a wallet created with Bitcoin Core, having only a short sequence of ...
1 vote
1 answer
139 views

How does "hierarchical deterministic wallet" work?

I'm reading Bitcoin and Cryptocurrency Technologies. This book talks about how "hierarchical deterministic wallet" works like this: Here it says private key generation need "k, x, y&...
  • 35
0 votes
1 answer
604 views

Can you recover a wallet with only BIP39 seed or BIP32 root key?

Can we access and withdraw BTC if we have bip32 seed and bip32 root key? But we don't have the bip39 passphrase
0 votes
1 answer
102 views

How to get extended key from 512-bit seed?

I've followed the bip32 and bip39 specifications for generating the 512-bit seed, however I didn't understand how to generate the xpriv from this. I've used the left 256 bits for the private key and ...
  • 131
1 vote
1 answer
153 views

How do exchanges like binance or kucoin store user assets?

My questions about storing user assets: An exchange creates unique deposit addresses for each users. Are these addresses all derived from a HD wallet and exchange controls all the keys and indexes? ...
1 vote
1 answer
137 views

developing hd wallet using bip32 and bip 39

I'm developing a HD wallet using C#. I want to use this wallet for multiple blockchains like bitcoin, ethereum, dogecoin etc... I've read that I should use bip32 for my wallet. i know what's bip32 but ...
  • 11
0 votes
1 answer
27 views

Unable to derive child keys from subkeys

I'm trying to implement bip32 derivation and have been able to derive the child keys from the master node, but not children of the child key. The following test shows the correct result in bytes for ...
  • 131
0 votes
0 answers
98 views

HD wallet root seed length

Mastering Bitcoin describes the process of generating the HD wallet seed: "1. Create a random sequence (entropy) of 128 to 256 bits." ... 6. The mnemonic code is the sequence of words. ... 9....
0 votes
1 answer
51 views

getwalletinfo.hdseedid security

Command help getwalletinfo tells: "hdseedid": "hex", (string, optional) the Hash160 of the HD seed (only present when HD is enabled) I understand that sharing this number will ...
  • 560
1 vote
1 answer
185 views

Using more than a 12 word mnemonic phrase

From Mastering Bitcoin: "From a security perspective, the amount of entropy actually used for the production of HD wallets is roughly 128 bits, which equals 12 words. Providing more than 12 words ...
0 votes
1 answer
68 views

hierarchical deterministic wallets - creation of public keys

From Mastering Bitcoin: "The second advantage of HD wallets is that users can create a sequence of public keys without having access to the corresponding private keys. This allows HD wallets to ...
3 votes
2 answers
950 views

Derive Segwit Addresses From xPub or zPub using PYTHON

Summary I'm pulling my hair out trying to understand a couple of concepts. I would like to use a Segwit wallet in my Ledger Nano S to derive unhardened(?) child public keys (and thus segwit addresses) ...
  • 45
0 votes
0 answers
236 views

How does Ed25519 fit in with BIP32/44 HD wallet paths?

From my understanding, BIP39/32/44 all use the secp256k1 elliptic curve standard from Bitcoin. But I noticed that cryptos such as Polkadot and Cardano have their own registered coin type path for ...
0 votes
1 answer
505 views

In bip32-utils for bitcoinjs, node.getAddress is not a function

I am trying to run the example code in the bip32-utils taken here (https://github.com/bitcoinjs/bip32-utils) of: const bip39 = require('bip39') const bitcoin = require('bitcoinjs-lib') const ...
1 vote
0 answers
88 views

Should I use one `hsm_secret` for both the mainnet and the testnet?

When I launch lightningd it generates hsm_secret in ~/.lightning/bitcoin whereas launching lightningd with network=testnet generates hsm_secret in ~/.lightning/testnet. These two files seem to be ...

1
2 3 4 5
10