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
0answers
17 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
15 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
24 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
13 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
32 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
30 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
1answer
69 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
19 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
12 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
28 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
18 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
27 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
37 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
209 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
25 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
21 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
76 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
40 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
47 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
44 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
47 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
42 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
60 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
51 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
59 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
76 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
79 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
12 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
65 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
52 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
58 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
64 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
48 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
46 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
40 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
26 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
165 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
vote
0answers
38 views

How to calculate and spend funds received from derived addresses

Assume I have a xpub for path m/44'/0'/0' and I generate receive addresses from it like m/44'/0'/0'/1 to m/44'/0'/0'/n where n could get really large as time passes. My question is: Where does these ...
1
vote
1answer
41 views

Why BIP32 derive address does not match with BIP39?

How is that the same xPub rsults different address in BIP32 and BIP39? :)
1
vote
1answer
128 views

How to correctly create and import a SegWit paper wallet

I use Bitcoin Core to create SegWit paper wallets for friends and family. After creating the wallet via the GUI, the steps I take are as follows: getnewaddress # Carry this public key back to the ...
0
votes
1answer
53 views

How to derive public child keys from public parent keys with bip39-libs.js?

I red this doc: https://howieliux.github.io/assets/others/Mastering_bitcoin/Mastering_Bitcoin.html and found: As mentioned previously, a very useful characteristic of HD wallets is the ability to ...
0
votes
1answer
111 views

Ledger Nano Mnemonic Generation and Questions

From the ledger documentaion we have The device generates a sequence of 256 random bits using the true random number generator (TRNG) built into the device’s Secure Element. The first 8 bits of the ...
4
votes
1answer
376 views

How are Electrum addresses connected to my private key?

I've started using Electrum and created my first wallet. I saved the private key seed on a piece of paper. I also created a new address by going to the Receive tab and clicking "New Address"....
2
votes
0answers
40 views

Is BitCoin developer page's HD Wallet image wrong

Here is the image I copied from the https://developer.bitcoin.org/devguide/wallets.html#id9 What I understand is that M/0'/1' can derive M/0'/1'/0. M/0'/1' can't derive M/0'/1'/0'. To derive M/0'/1'/0,...
0
votes
1answer
81 views

Verify that WIF corresponds with bip32 extended public key

I have a bip38 encrypted private key that I lost the password to, and I have its corresponding extended public key. I want to brute force passwords as I have an idea of what it might be, but I need to ...
1
vote
1answer
124 views

How to derive BTC m44 addresses from xpub?

I checked Swan's Address Derivation Library https://github.com/swan-bitcoin/xpub-tool. I try to get m44 address, but I got m84. Why? Do you know is it any parameter to force return m44? I tried to ...
0
votes
0answers
295 views

Mycelium - understanding of keys

Under the Accounts tab in Mycelium, it says that Account 1 "Contains 3 private keys." My understanding is that a public/private key pair is generated for each address type/format (p2sh, ...
0
votes
1answer
42 views

Mycelium - more than one unused Bitcoin HD account

Why can't I have more than one unused Bitcoin HD Account? What if I want to use a Bitcoin mixer that allows for 5 destination addresses?
0
votes
0answers
34 views

Mycelium - multiple accounts

Are there best practices for when you'd create multiple accounts? What are examples of meaningful names for accounts?

1
2 3 4 5
9