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

BIP 32 Root key for connecting wallets

I have a question, a broker Xeroxfx.org asked me to create the BIP 32 RK to connect wallets for a quicker transaction. Is this real, or can he now steal from my wallet? THX Phillip
  • 11
0 votes
0 answers
25 views

Getting hdseed from bitcoincore wallet [duplicate]

I want to recover the hdseed for a wallet in bitcoin-core. If I create a new wallet cli createwallet mywallet I assume that bitcoind will generate a random hdseed for it. But I don't see how to ...
2 votes
1 answer
26 views

What is the purpose of BIP32 derivation paths in PSBT?

Does the wallet software use the Bip32 derivation paths to generate the partial signature map?
1 vote
1 answer
133 views

How to make bitcoin hd wallet in typescript?

I am trying to create HD wallet for bitcoin. I have developed an Ethereum wallet, but I am having a hard time making a Bitcoin wallet. In my case, I am developing a server using Golang and Typescript. ...
0 votes
0 answers
33 views

Help about HD wallet with python

I'm creating simple small exchange with python flask this exchange is going to be used by our small community with about 500 people to trade our own coin with bitcoin ( Our own coin is dash fork). ...
1 vote
2 answers
515 views

How (un)safe is it to use non-random seed words?

Suppose someone chooses to use a seed (mnemonic) that is easy to memorise, like true kid true kid true kid true kid true kid true kid - using a passphrase, of course. The benefit is clear: he'd only ...
  • 11
1 vote
1 answer
50 views

Why doesn't Casa use hardened derivation?

I've noticed that Casa uses non-hardened derivation paths for both their key and my HW keys. The path is the following m/49/0/1. Does anyone have an idea of why it's the case? I mean, the risk of ...
1 vote
1 answer
66 views

How do I generate master key from the root seed

I created a mnemonics and it is hashed using pbdkf2 function to get a root seed. So this root seed should be hashed again with HMAC-SHA512 to get the master key (Master private key and chain code). So ...
  • 49
1 vote
0 answers
78 views

Importing BIP-84 keys to Bitcoin Core or similar?

I generated a mnemonic and keys using the BIP-84 scheme and sent funds to a public address from that scheme over time. I have been using this as a paper wallet, unattached to any wallet software. I ...
  • 11
0 votes
1 answer
132 views

Easier way of backing up/remembering a bitcoin private key

This is a bit of a general question, knowing already of HD wallets and the mnemonic system for creating, backing-up and using the bitcoin blockchain. However say you have for example a cold/paper ...
1 vote
0 answers
11 views

What's the length of a extended key? [duplicate]

I'm reading Mastring Bitcoin/ch05. In this chapter, it says "Because the extended key is 512 or 513 bits, it is also much longer than other Base58Check-encoded strings we have seen previously.&...
  • 135
0 votes
1 answer
170 views

how to generate private keys from derivation paths or from another private keys?

Based on the answer HERE The following is possible entropy --> random number --> phrase --> private key --> public key --> address | ^ | ...
1 vote
0 answers
34 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 ...
  • 183
0 votes
1 answer
119 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?
2 votes
0 answers
31 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,...
  • 334
1 vote
1 answer
58 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 ...
  • 49
0 votes
1 answer
73 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
283 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
146 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) ...
  • 49
1 vote
1 answer
179 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
131 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
25 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
136 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
290 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
386 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
2 votes
2 answers
172 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
95 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
64 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
384 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
1k 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
89 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
221 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
100 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
213 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
184 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 ...
2 votes
1 answer
338 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
78 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
99 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)...
  • 45
0 votes
1 answer
99 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
524 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
81 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
273 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
160 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
272 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
174 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
169 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
159 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
170 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&...
  • 27
0 votes
1 answer
736 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
135 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 ...
  • 141

1
2 3 4 5
10