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
1answer
28 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?
0
votes
0answers
34 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
1answer
41 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
1answer
53 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 ...
1
vote
1answer
54 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 ...
0
votes
1answer
20 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 ...
0
votes
0answers
48 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
1answer
61 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&...
0
votes
1answer
91 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
1answer
28 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 ...
1
vote
1answer
67 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
1answer
51 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 ...
0
votes
0answers
18 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#...
0
votes
1answer
17 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 ...
0
votes
0answers
46 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
1answer
25 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 ...
1
vote
1answer
76 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
1answer
45 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 ...
1
vote
2answers
281 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) ...
0
votes
0answers
61 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
0answers
174 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
0answers
52 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
vote
0answers
24 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 ...
0
votes
2answers
74 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 ...
0
votes
1answer
97 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 ...
1
vote
1answer
215 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?
0
votes
0answers
32 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 ...
1
vote
0answers
34 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 ...
0
votes
0answers
127 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 ...
0
votes
1answer
45 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 ...
0
votes
1answer
80 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 ...
0
votes
1answer
69 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?
0
votes
1answer
68 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 ...
2
votes
1answer
47 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?
0
votes
2answers
96 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.
3
votes
1answer
59 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 ...
1
vote
1answer
106 views

Are a new set of keys created for each UTXO, or can multiple UTXOs be locked by the same PubKey?

I understand that each transaction, new pairs of keys are generated, usually derived from a master key say in an HD wallet. If your change for a transaction or received BTC Is in multiple UTXOs, are ...
0
votes
2answers
174 views

Private Key not recognized by Electrum

I'm in a bit of a pickle :-). I recently discovered I still have a few dollars worth of BTC, which I bought in 2017. I transferred the BTC from Coinbase to my Electrum Wallet (a client, which I no ...
0
votes
1answer
121 views

Can you get the seed phrase of a HD wallet from the private key of one of the wallets?

Let us say I have a HD wallet. Can I get it’s seed phrase from the private key of one of its wallets? Also are seed phrases just easy to remember private keys? If so does that mean that from the seed ...
0
votes
0answers
18 views

Adding wallet descriptor in Electrum

Is it possible to add a wallet descriptor in Electrum? I'm trying to make a watch only wallet that can sign transactions from a hardware device. Thanks.
0
votes
0answers
35 views

Consolidating BTC across multiple address but same account

Say a user generates three "linked" addresses (e.g. m/44'/0'/0'/0/0, m/44'/0'/0'/0/1, m/44'/0'/0'/0/2) using an HDWallet and receives 1 BTC to each unique address. For each of the addresses ...
0
votes
1answer
115 views

Deriving payable address from mnemonic using BIP44

I'm trying to go from seed phrase/mnemonic to payable address using BIP 44. Here is a simplified version of the code I'm using. However, when I compare with https://iancoleman.io/bip39/ the private, ...
1
vote
1answer
56 views

Why is BIP32 not simply PublicKey multiplication?

I understand that: pubkey(a + b) = pubkey(a).combine(pubkey(b)) where a and b are secret keys. (See: https://crypto.stackexchange.com/q/83694/17505) If, under the circumstances: Bob wants to pay ...
1
vote
0answers
81 views

Why bother with 'account' in derivation path?

After lots of wallet testing, I'm thinking that only account level 0 should be used. Especially, when you consider restoring a wallet from the seed phrase. m / purpose' / coin_type' / account' / ...
0
votes
1answer
70 views

Can Bitcoin be recovered from a child key alone?

I have a question regarding BIP-32 and keys. Imagine a scenario in which a user creates a new Bitcoin wallet with a seed phrase. He then generates a new address and sends 1 BTC to this address. Under ...
0
votes
1answer
62 views

Are JBOK wallets used at all?

JBOK (just a bunch of keys) wallets generate the keys independently from each other. In contrast, HD wallets are hierarchical and deterministic: They need a seed (e.g. a couple of words) and can ...
0
votes
1answer
53 views

Why BIP32 extended public key differs from BIP32 derived private key?

I put the same input into iancoleman site and BIP32 site, but both derive different result. Why? I expected derived address will be the same. Do you see what I set wrong? ...
1
vote
0answers
46 views

Generating HD wallet seed phrase

got a new hardware wallet and thinking of using my own set of bip39 words instead of wallet generated one, combined with a passphrase.
1
vote
0answers
32 views

How to store hd wallet seed in production server

I've developed a cryptocurrency payment gateway, which is a web application that generates new addresses for users, I've developed a HD wallet as a hot wallet for my application, and all addresses for ...
1
vote
1answer
266 views

Python: Why the addresses and keys generated by pywallet and bip32utils using the same 12 mnemonic words don't match?

I tried to generate wallets by using pywallet and bip32utils (Python). But I noted that the addresses/keys of the 2 wallets, namely wallet_pywallet and wallet_bip39 don't match with each other. I ...

1
2 3 4 5
10