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
95 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
  • 161
0 votes
0 answers
20 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
50 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
147 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
365 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
32 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
314 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,029
0 votes
1 answer
75 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,029
0 votes
1 answer
131 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,029
2 votes
1 answer
168 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,029
0 votes
0 answers
36 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
53 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
215 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
53 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
92 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
91 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
51 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
235 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
69 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
0 votes
1 answer
238 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
82 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
100 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
79 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
178 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,029
2 votes
1 answer
130 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
1 vote
1 answer
127 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,029
2 votes
2 answers
233 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,029
1 vote
0 answers
64 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
133 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
53 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
54 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
53 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
73 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
283 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
0 votes
0 answers
100 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). ...
Toni Dev's user avatar
1 vote
2 answers
570 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
73 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
441 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
206 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
245 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
585 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 vote
0 answers
50 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 ...
landabaso's user avatar
  • 248
3 votes
2 answers
92 views

What is difference between hmac_sha256, hkdf_sha256 and hmac_sha_512?

In the open source (https://github.com/bitcoin/bitcoin/tree/master/src/crypto) there are these algrithms that as I know connected with gerenation the new keys and master key. So I try to understand ...
Gregory Morychev's user avatar
0 votes
1 answer
215 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?
Daniel Martinez's user avatar
2 votes
0 answers
40 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,...
Adam B's user avatar
  • 344
1 vote
1 answer
130 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 ...
Athul A's user avatar
  • 69
0 votes
1 answer
128 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 ...
Michael Folkson's user avatar

1
2 3 4 5
11