All Questions
Tagged with hd-wallet or bip32-hd-wallets
544 questions
1
vote
0
answers
12
views
Does BIP86 not use a unique prefix for extended keys?
Do BIP86 extended keys not use a unique prefix?
For example:
BIP44 = xprv/xpub
BIP49 = yprv/ypub
BIP84 = zprv/zpub
BIP 86 = xprv/xpub?
In other words, do BIP86 extended keys share the same ...
0
votes
0
answers
20
views
Non custodial bitcoin wallet creation using passkey
Ethereum allows creation of smart wallet with passkeys using ERC-4437. Can a similar thing be implemented in bitcoin without any changes in the bitcoin network protocol?
A web app / browser extension ...
0
votes
1
answer
65
views
How do HD wallets store the keys and addresses?
As far as I'm aware, the recovery code is presented to the user once and then not stored at all by the wallet, in which case, it has to store at least the master private key, and would also probably ...
0
votes
0
answers
54
views
BIP32 Xpub + Child Secret - Examples to understand security
I have 5 Regtest examples: (h4, h3, h2, h1, h0), all using the same xpriv (Regtest), but at different levels of hardening from totally hardened to Completely unhardened. The secret/wif are derived at ...
0
votes
0
answers
84
views
Lost 2 of 24 words (12th&24th) on TON SPACE
I have made bad screenshot of mnemonic phrase, and lost access from Ton Space, 12th and 24th words are missing, i know all other words in a proper order, so only 2 are missing. Do you guys know any ...
2
votes
1
answer
86
views
Understanding the advantages/pitfalls of using one/two keychains for wallets
I'm trying to make sure I understand the question: Why Do We Use Change Descriptors when Building Wallets?
Context: I work on the Bitcoin Development Kit, where one of our core types is the Wallet ...
2
votes
1
answer
63
views
xPriv needed to derive hardened child xPubs?
I am trying to create a java method that gets the xPub associated at the childnumber of the input hardened:
private String getDerivedXPubFromPathAndXPub(Integer childNumber, String xPub) {
...
2
votes
0
answers
56
views
Using BIP32 derivations, can all seeds theoretically produce all public keys?
I was interested in how many possible combinations of BIP 32 derivation paths exist, which could result in a public key derived from a seed. While some people colloquially call it "unlimited,&...
0
votes
0
answers
60
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 ...
1
vote
1
answer
244
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 ...
1
vote
1
answer
63
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.
2
votes
0
answers
81
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 ...
1
vote
0
answers
179
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 ...
1
vote
0
answers
67
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 ...
1
vote
2
answers
126
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 ...
1
vote
1
answer
64
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 ...
2
votes
1
answer
68
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&...
1
vote
0
answers
246
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 ...
1
vote
2
answers
153
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 ...
0
votes
0
answers
11
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 ...
3
votes
2
answers
170
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 ...
3
votes
1
answer
156
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?
2
votes
1
answer
628
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 ...
0
votes
0
answers
57
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 ...
0
votes
0
answers
48
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 ...
-1
votes
1
answer
54
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 ...
1
vote
1
answer
131
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 ...
3
votes
1
answer
133
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 ...
2
votes
2
answers
404
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 ...
1
vote
0
answers
152
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 ...
2
votes
1
answer
401
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 ...
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 ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
196
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:
[ ...
0
votes
1
answer
337
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 ...
2
votes
1
answer
531
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 ...
0
votes
0
answers
146
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 ...
0
votes
2
answers
1k
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 ...
1
vote
1
answer
64
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 ...
0
votes
1
answer
182
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 ...
1
vote
1
answer
495
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 ...
1
vote
1
answer
85
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 ...
1
vote
1
answer
890
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 ...
2
votes
1
answer
82
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 ...
4
votes
1
answer
83
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?
1
vote
0
answers
57
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 ...
1
vote
1
answer
849
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 ...
-1
votes
1
answer
105
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
2
votes
1
answer
228
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 ...
1
vote
0
answers
119
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....