Skip to main content

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
0 answers
31 views

How can I create a new prefix for an extended key (xprv, zprv...)?

I'm trying to create a new prefix to change the prefix of a xprv, but it doesn't work, what I need to know for do it? I'm looking to use the prefix 'nxprv'. I'm trying to use this code(it works to ...
Anderson Juhasc's user avatar
1 vote
1 answer
193 views

How might you detect if two extended public keys have the same root private key?

Say I derive three extended public keys1 (normal mode): Parent: Pubkey: 035f743ee7d73d27e8c80f6b2458e6d4e2a45f3d7dd35c4e4d84ff3d939d09f40c Chaincode ...
Lee's user avatar
  • 877
1 vote
1 answer
29 views

What is the "extended private masterkey" line of a dumpwallet file?

What is the "extended private masterkey" in a dumpwallet file? It begins with xprv.
Geremia's user avatar
  • 4,704
0 votes
0 answers
26 views

How to claim funds in a multisig address from a money pool psbt?

Mostly followed this guide on how to create a psbt where multiple users pool money together. Everything is done in regtest. The gist of what I did is as follows: Created 2 different descriptor ...
Psi's user avatar
  • 1
1 vote
0 answers
70 views

Xverse Wallet. Logs into an account with a different wallet

Such a disaster happened. I created an Xverse wallet on April 20, copied the address and sent Ordinals tokens to it (address - bc1p...). I logged in today, I was kicked out of my wallet and asked to ...
Sergio's user avatar
  • 11
1 vote
0 answers
16 views

How to get my bitcoin out of Mycelium?

I want to leave Mycelium. I have heard nothing but that it’s Jurassic. I would like to use a new wallet. I have no idea what wallet to use but I have like $48 in bitcoins. I know it’s not a lot, but I ...
Kate Whitmore's user avatar
1 vote
2 answers
81 views

How does a HD wallet work in practice?

EDIT - I have refined the question in the post to be more succinct. If I derive multiple child/grandchild key pairs from the original master public key, I understand each of these is its own specific ...
Latent365's user avatar
1 vote
1 answer
38 views

Having Address format, infer derivation path or BIP used

Hello fellow Bitcoiners. While studing bitcoin, I came across an issue, I wanted to ask if someone knows how to know which derivation path a 1xxxxxxxxxxx address was created with. I know that ...
juancho's user avatar
  • 13
2 votes
1 answer
57 views

Where does the term "derivation path" originate

BIP-32 never mentions the term "derivation path" but a quick search (https://bitcoinsearch.xyz/?search=derivation+path) returns a bunch of results so one must assume "derivation path&...
Tobin's user avatar
  • 123
1 vote
0 answers
120 views

How to generate private key from 24-word mnemonic phrase? (Native Segwit)

When Googling, entire first page consists of people linking to online "calculators" (no thank you) or outdated bip39 code which no longer works. I have a 24 word seed phrase (from ledger ...
Cobie Fisher's user avatar
1 vote
2 answers
110 views

Lost funds? Generated child address (HD Wallet BIP32) without Node path

I have an app that generates 1 public address = 1 transaction using HD Wallet. However I forgot to put the node path /0 while generating the child address and my Bitcoin Core wallet does not recognize ...
stifou's user avatar
  • 21
0 votes
0 answers
10 views

Public key collision/address reuse and HD wallet path search space [duplicate]

If you load the same key and the correct path into different wallets, and it properly generates a new address for every transaction, would the two wallets generate the same address in a sequential ...
Justin Goldberg's user avatar
3 votes
2 answers
123 views

How can a hacker steal the funds received in the future when there is only an xpub on the server?

In book titled "Mastering bitcoin" 3th edition, on page 114, there is a sentence as below. Gabriel’s website does not contain any private keys and therefore any hack of it can only steal the ...
fa william's user avatar
3 votes
1 answer
107 views

Core-Lightning Derviation Path

What derivation path does Core-Lightning use to end up at the Node Public Key (and private key), given a mnemonic seed?
Dalit Sairio's user avatar
2 votes
1 answer
403 views

Need Help Deriving Extended Private Key from Bitcoin Root Extended Public Key and Non-Hardened Extended Private Key

I am currently working on a challenge that involves deriving a non-hardened extended private key for a specific search path in Bitcoin. The challenge provides the following information: Bitcoin root ...
Ankit Tiwari's user avatar
0 votes
0 answers
46 views

Understanding signrawtransactionwithwallet and the Transaction Signing Process

I would like to understand all the advantages of a descriptor wallet. I comprehend that the wallet safeguards the user by not exposing the private key. However, when I use bitcoin-cli listdescriptors ...
monkeyUser's user avatar
0 votes
0 answers
37 views

An efficient algorithm for multi-address transactions in a deterministic wallet

I am developing my Bitcoin wallet (testnet) on Python using the Cryptos library. I started integrating support for deterministic wallets and mnemonic words. Now I have enabled users to generate ...
Xemi's user avatar
  • 1
-1 votes
1 answer
42 views

Using bitcoinlib created wallet on exchanges

I am trying to get familiar with crypto trading, and I know enough Python to be dangerous. Including the ability to created HD wallets using bitcoinlib. My question is, can I use my bitcoinlib created ...
Greg Gordon's user avatar
1 vote
1 answer
93 views

Why do PSBT and Descriptor enforce providing the BIP32 derivation path from the root?

Let's consider a scenario: I have a master xprv named xprv1, and I derived an xprv named xprv2 at m/99/88h. Now, I want to use xprv2 to create a new multi-sig wallet, intending to use m/99/88h/0/* as ...
solar's user avatar
  • 25
3 votes
1 answer
106 views

Mnemonic from Node.js app not restoring in other wallets

I'm working on a Node.js app that makes RPC calls to my node, and I'm having trouble restoring a mnemonic created with bitcoinjs-lib, bip32, and bip39. First, I create a blank wallet that accepts ...
Cannabijoy's user avatar
2 votes
2 answers
248 views

Why does each Bitcoin wallet application generate the same new receive address?

I use Sparrow, Ledger Live, BlueWallet and Nunchuk Bitcoin wallets. I was under the impression that new receive addresses are randomly generated. However, I have noticed that each wallet application ...
Guru Josh's user avatar
  • 171
0 votes
0 answers
27 views

Can I use 2 individual private keys to spend from my Bip32 HD 2 or 2 multisig?

Example keys are fake: If I build a 2 of 2 in Sparrow or any Bip32 Determ wallet, with P2WSH native segwit, and ONLY send funds to the very FIRST receiving address: m/48'/0'/0'/2'/0/0: ...
George's user avatar
  • 1
1 vote
0 answers
111 views

Bip32 Root Key in Metamask Signature? [closed]

I recently fell victim to an inferno contract that took a significant amount of my ERC-20 coins. I realize that this is a Bitcoin site, but a white hat hacker approached and offered to help, and told ...
rnaka's user avatar
  • 11
2 votes
1 answer
290 views

How is an HD Wallet Key Generated?

Please help me understand how you generate a Private key + Chaincode from entropy. As I understand it, you generate entropy which should be random and can vary from 128 - 256 bits of data. You could ...
Bob Nakamoto's user avatar
2 votes
1 answer
1k views

I need to get BTC addresses from a 12 word phrase, but I don't understand what to do next

I need an algorithm for translating a 12-word phrase to BTC SegWit bech32 P2WPKH addresses. I wrote a function in Python that returns a seed, but I don't understand what to do next. Here when entering ...
Party P.A.R.T.Y.'s user avatar
0 votes
0 answers
38 views

Is it fair to say that a derived unhardened child key should be used when it is desirable to express a public relation between signers?

I'm trying to consider cases of using derived unhardened child keys. My understanding is that this type of key within a tree can be created without the master extended private key i.e. can be created ...
Nicholas Sandomeno's user avatar
0 votes
1 answer
1k views

Does the used standard (BIP44, BIP49, BIP84) define the type of addresses used?

I have a few questions regarding wallets and BIP44/49/89 standards. In many places I found that BIP44 is used for traditional addresses (P2PKH) and that the path is m/44'/.... Also, if we want another ...
dassd's user avatar
  • 1,099
0 votes
1 answer
128 views

What is the purpose of the different types of extended keys, as well as some of its other elements?

I have a few questions about the extended public/private key, i.e. the purpose of its elements. Namely, according to the BIP32 standard, the "format" of the extended key is as follows: [ ...
dassd's user avatar
  • 1,099
0 votes
1 answer
228 views

Does BIP44 limit the maximum number of keys? (and some related questions)

My main question is actually the one in the title. However, for the sake of consistency, I asked some more questions along the way, in order to create a certain story and somehow put everything in one ...
dassd's user avatar
  • 1,099
2 votes
1 answer
385 views

What's the point of hardened derivation when we can achieve the same effect using non-hardened derivation with a secret parent chain code?

We can use xpub (extended public key) if we want to generate a new public key (and further the address) on some insecure website for each new order without knowing the private key. We'll do this by ...
dassd's user avatar
  • 1,099
0 votes
0 answers
41 views

Difference in security of key generation for Armory Wallet vs BIP32

I have been studying Armory’s key derivation path vs BIP 32 (thanks Pieter!) and am trying to determine if there is any increased security with BIP 32 or strictly convenience gains. If the entropy ...
Rex Everything's user avatar
0 votes
0 answers
110 views

Master Node(BIP32 Root Key) to xpriv and xpub

I struggle to make a python script that can make xpriv and xpub (extended public and private key) from the Master Node (BIP32 Root Key). I've derived the Master Node from the BIP39 seed with ...
Peder Rustad's user avatar
0 votes
2 answers
873 views

How do I move (sweep, export) my private keys from my Electrum standard wallet to a new HD wallet using Electrum?

My present wallet which I have been using to accumulate BTC (50+ utxos) is a Electrum Standard, script type is p2pkh, with seed available and the keystore type is bip32. I assume that I should now ...
thw3rd's user avatar
  • 1
1 vote
1 answer
59 views

multiple multisigs with minimal cold devices

I want to maximize security but minimize complexity. Let's say I have large enough sums of BTC that need to be secured into three buckets: KYC Personal BTC Non KYC Personal BTC (mined) KYC Company ...
Francis's user avatar
  • 11
0 votes
1 answer
155 views

HD Wallet convert WIF from list to Public Address

I'm trying to convert a txt of WIF to Public Address but only convert the last line, if someone knows another way to do, i really appreciate from hdwallet import HDWallet from hdwallet.symbols import ...
Dan Gonzalez's user avatar
1 vote
1 answer
316 views

Why do bip32 (HD Wallet) xprv key strings all start with

the prefix xprv9s21ZrQH143K...? no matter which seed phrase I start from. whereas normal private keys will vary totally. What does the "...9s21ZrQH143K..." mean? Further, this sequence will ...
bitguy54's user avatar
1 vote
1 answer
68 views

How is it that HD wallets can be restored from seed words without the chain code entropy being known?

BIP-32 defines the chain code as entropy additional to the private key: In what follows, we will define a function that derives a number of child keys from a parent key. In order to prevent these ...
Robert Dickinson's user avatar
1 vote
1 answer
606 views

Webpack issue with tiny-secp256k1 and ECPair

I am developing a browser extension using Webpack v5 and incorporating the bitcoinjs-lib and ecpair libraries to create a Bitcoin wallet. However, I am encountering an error when attempting to load ...
Vaibhav Patel's user avatar
2 votes
1 answer
77 views

what is the best way to store btc for long-term?

I am looking for a way to store btc for long-term. Have been using airgapped hw wallet but I want to get rid of third party risk at all. I do not want to use mnemonic anymore as I found that BIP39 is ...
user142424's user avatar
4 votes
1 answer
77 views

Is there any benefit from creating hardened child keys from unhardened parents?

In the context of BIP32, is there any benefit from deriving a hardened key from an unhardened parent? E.g., m/0'/0/0'? Are there any examples of where such a key is being used?
aryzing's user avatar
  • 165
1 vote
0 answers
54 views

Is there a way to make a provably non-fake HW wallet?

With the current hardware wallets, there is AFAIK no way for a customer to verify if the HW wallet indeed generates secure, private addresses. All checks actually just use various methods to verify ...
Aleš Janda's user avatar
1 vote
1 answer
569 views

Advanced options of a Bitcoin wallet in bluewallet

While creating a new Bitcoin wallet in the bluewallet app, there are three options: HD SegWit (BIP84 Bech32 Native) SegWit (P2SH) HD SegWit (BIP49 P2SH) Can someone explain each option and their ...
Amir reza Riahi's user avatar
-1 votes
1 answer
98 views

I wrote down my 12 words before uninstalling my app. I put them in after reinstalling the app and it gives name a different wallet address, why i? [closed]

I’ve tried to put the 12 words in different wallets and it keeps changing the wallet address
Howard Powell's user avatar
2 votes
1 answer
190 views

Import existing address to BIP-32

I would like to know if there is a way to import an existing address (not generated through the BIP-32 protocol and not derived to it) to my BIP-32 master node. I am using the bitcoinjs-lib library on ...
AlexCav's user avatar
  • 51
1 vote
0 answers
97 views

Is there such a bip32 function?

I have this code: const bip32 = utils.BIP32Factory(utils.ecc) const mnemonic = utils.bip39.generateMnemonic(256); const seed = utils.bip39.mnemonicToSeedSync(mnemonic); const masterNode = bip32....
AlexCav's user avatar
  • 51
3 votes
1 answer
291 views

What is the length of the extended public key?

I'm reading the Master Bitcoin book and I'm a bit confused. The confusion is related to the length of the extended keys. The book says that extended keys are 512 or 513 bits long. It is clear to me ...
dassd's user avatar
  • 1,099
2 votes
1 answer
149 views

What are business cases with hardened child derivation (bitcoin)? What wallets support it?

Looks like many widely used wallets do not support hardened child key derivation. E.g. Sparrow, Electrum, etc. If so, why has it made into the standard, what would be good case examples? Speaking ...
Meglio's user avatar
  • 299
2 votes
1 answer
174 views

What am I doing wrong in calculating child private key in HD wallets and reversing back parent private key?

I'm trying to understand the process of creating the children's private key and, in the case of knowing the children's private key and the left 256-bit hash result, the process of returning the parent'...
dassd's user avatar
  • 1,099
3 votes
2 answers
467 views

How are children's private keys in HD wallets obtained and how can knowing them reveal the parent's private key?

I'm reading master bitcoin book and I came to the part related to HD wallets and how to create a Child private key (link). It says the following: The parent public key, chain code, and the index ...
dassd's user avatar
  • 1,099
1 vote
0 answers
81 views

Could the Bitcoin Core descriptor wallet recover and start spending UTXOs by only scanning the UTXO set?

In the case where you import a previously used BIP32 seed into a Bitcoin Core descriptor wallet, at the moment if I understand correctly, the only way to recover the UTXOs and spend them is by first ...
nolan's user avatar
  • 11

1
2 3 4 5
11