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
0 votes
1 answer
27 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 ...
user avatar
1 vote
1 answer
82 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 ...
user avatar
  • 15
1 vote
1 answer
217 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 = ...
user avatar
0 votes
3 answers
49 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 (...
user avatar
1 vote
1 answer
95 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:/...
user avatar
  • 395
1 vote
1 answer
60 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 ...
user avatar
1 vote
2 answers
109 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-...
user avatar
  • 11
0 votes
1 answer
63 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 ...
user avatar
0 votes
0 answers
45 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 ...
user avatar
  • 127
0 votes
1 answer
106 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, ...
user avatar
0 votes
1 answer
56 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,...
user avatar
  • 127
1 vote
1 answer
57 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)...
user avatar
  • 13
0 votes
1 answer
43 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: ...
user avatar
  • 127
0 votes
3 answers
186 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 ...
user avatar
  • 1
0 votes
1 answer
49 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?
user avatar
  • 125
1 vote
0 answers
143 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://...
user avatar
0 votes
1 answer
77 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 ...
user avatar
1 vote
1 answer
101 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 ...
user avatar
  • 123
2 votes
1 answer
102 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 ...
user avatar
  • 41
0 votes
1 answer
55 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 ...
user avatar
  • 388
0 votes
0 answers
99 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 ...
user avatar
1 vote
1 answer
105 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&...
user avatar
  • 21
0 votes
1 answer
370 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
user avatar
0 votes
1 answer
62 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 ...
user avatar
  • 121
1 vote
1 answer
117 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? ...
user avatar
1 vote
1 answer
103 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 ...
user avatar
  • 11
0 votes
0 answers
20 views

HD Wallet child randomness

for a given extended private or public key, is the expectation/intention that when creating a new child, that it will be unique? Reading https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#...
user avatar
  • 113
0 votes
1 answer
24 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 ...
user avatar
  • 121
0 votes
0 answers
78 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....
user avatar
0 votes
1 answer
38 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 ...
user avatar
  • 339
1 vote
1 answer
125 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 ...
user avatar
0 votes
1 answer
58 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 ...
user avatar
2 votes
2 answers
652 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) ...
user avatar
  • 25
0 votes
0 answers
147 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 ...
user avatar
0 votes
1 answer
448 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 ...
user avatar
1 vote
0 answers
71 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 ...
user avatar
1 vote
0 answers
36 views

Deriving children of a 2-of-3 multisig address with 3 xpubs as the starting point

I want to derive the children of a HD Multisig address using each of the xpubs following BitGo specs, currently, I have 3 xpubs and can get to the point where I can derive main address very similar to ...
user avatar
0 votes
2 answers
182 views

Storing entire seed from bip39 mnemonic using WIF

I'm using the bitcoinjs collection of libraries, specifically https://github.com/bitcoinjs/wif, https://github.com/bitcoinjs/bip32 and https://github.com/bitcoinjs/bip39 with nodejs. I have a mnemonic ...
user avatar
0 votes
2 answers
228 views

According to BIP44 each HD wallet have a finite number of 2^32 addresses, Why is that the case?

According to BIP32 we can have a seed from which we derive all our private and public keys, so in theory we can have an "infinite" number of child and grandchild keys so why does BIP44 limit ...
user avatar
  • 1
1 vote
1 answer
225 views

Is there an easy way to tell if a public address was derived from an hd key?

Assuming you know the hd key's private & public info, and you have a given address is there an easy way to know whether or not that address is derived from said hdkey?
user avatar
0 votes
0 answers
38 views

Signing a Transaction with Master Node for Derived Account

I am trying to learn HD Wallets. For that purpose, I build something on Solana. I've created derived accounts and can sign transactions with their private/public keys. Here is my code: const ...
user avatar
  • 101
1 vote
0 answers
67 views

Java bip32 library

I'm looking for java library that will cover bip32 address derivation (xpub to P2PKH, P2SH, P2WSH, P2WPKH, P2SH-P2WPKH). There seem to be a lot of libraries covering P2PKH, but not much else (like ...
user avatar
  • 1,584
0 votes
0 answers
196 views

How do you Derive Addresses from a BIP49 Master Public Key using P2WPKH-P2SH?

I am trying to derive addresses from a master public key (aka extended public key) in python. I don't fully understand the math behind the key derivation, but have been able to decode the master ...
user avatar
  • 1
0 votes
1 answer
69 views

How get fingerprint after derive parent key?

After derive parent key i have IL, IR and pIL Then i get ki: curve_n = 'fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141'; ki = remainder((pIL + priv), curve_n); I know that ...
user avatar
  • 25
1 vote
1 answer
163 views

Could be possible to get the Xpub from a Bitcoin Core wallet using RPC commands?

I know in the Bitcoin Core wallet there is no easy way to extract the xpub from a wallet, but maybe with the latest changes that have been made to the core (such as the exit descriptors), there are ...
user avatar
0 votes
1 answer
104 views

Retrieve the xpub and private key of a given path (Bitcoin Core)

How do we retrieve the xpub and the private key (for signature) of a given path (m/87h/0h/0h, for example) for legacy and descriptor wallets in Bitcoin Core?
user avatar
  • 187
0 votes
1 answer
141 views

How exactly can hardened keys work?? (HD Wallets!)

After reading Chptr 5, Wallets, from the Bitcoin Book, I have some questions: So I understand that the leak of an xpub+child priv key = compromised wallet. 1)How compromised is the wallet? Just from ...
user avatar
2 votes
1 answer
60 views

What does an apostrophe at the end of a derivation path mean?

If I generate addresses with m/44'/0'/0'/0', m/44'/0'/0'/1', what is the difference compared with m/44'/0'/0'/0, m/44'/0'/0'/1?
user avatar
  • 25
0 votes
2 answers
186 views

What type of wallet support French seed-phrases?

been struggling to find wallet to restore it as it seems most wallets support only English.
user avatar
  • 11
3 votes
1 answer
77 views

How are derivation paths stored and regenerated for HD wallets?

HD wallets create derivation paths for generated keys. But if you need to regenerate these keys with your seed or master key, where do you get the derivation paths? I don't see how they can be stored ...
user avatar

1
2 3 4 5
10