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
3 votes
1 answer
73 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
316 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
33 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
31 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
34 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
68 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
89 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
147 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
22 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
73 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
204 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
644 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
36 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
773 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,049
0 votes
1 answer
92 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,049
0 votes
1 answer
163 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,049
2 votes
1 answer
287 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,049
0 votes
0 answers
38 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
74 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
410 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
57 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
123 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
192 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
58 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
392 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
73 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
74 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
  • 143
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
367 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
88 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
133 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
88 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
2 votes
1 answer
210 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,049
2 votes
1 answer
141 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
  • 287
2 votes
1 answer
153 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,049
3 votes
2 answers
326 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,049
1 vote
0 answers
72 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
3 votes
1 answer
141 views

Does Bitcoin Core version v22.0.0 support SLIP-0132?

Launched my own Bitcoin Core with regtest. Installed Specter and made it connect to that node. In Specter, I created a new bitcoin wallet, basing it on the bitcoin core hot wallet. In Specter, I ...
Meglio's user avatar
  • 287
0 votes
1 answer
80 views

How to implement stake.com model of deposit & withdraw flow for my crypto poker casino?

In stake.com for each user they generate separate bech32 address for deposit & displays the deposited amount as balance in top of the navigation bar. Similarly for withdraw they just ask for the ...
Kimi Raikkonen 9790's user avatar
1 vote
1 answer
62 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
Phillip's user avatar
  • 11
0 votes
0 answers
60 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 ...
Lepus Cyberneticus's user avatar
2 votes
1 answer
86 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?
btctestdev11's user avatar
1 vote
1 answer
335 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. ...
Primrose's user avatar
1 vote
2 answers
594 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 ...
room101's user avatar
  • 11
1 vote
1 answer
80 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 ...
beefgroin's user avatar
1 vote
1 answer
621 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 ...
Athul A's user avatar
  • 69
1 vote
0 answers
235 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 ...
bbuck's user avatar
  • 11
0 votes
1 answer
287 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 ...
fredsta98's user avatar
1 vote
0 answers
14 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.&...
Bicheng's user avatar
  • 135
0 votes
1 answer
732 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 | ^ | ...
Alexio puk2sefu's user avatar

1
2 3 4 5
11