Questions tagged [bip-32-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
387
questions
0
votes
1answer
21 views
What's going to happen if someone has access to my Bip32 root key?
Can my bitcoin get stolen if someone else has access to my Bip32 root key?
0
votes
0answers
31 views
Which one is safer for a cold storage bitcoin-core or electrum?
Since bitcoin core and electrum uses different method in generating the wallet (BIP39 & BIP32). I wonder which one is the safer option to use for cold storage?
2
votes
3answers
174 views
Is there a script for bitcoin core which prints all spendable UTXOs given a private seed?
I am looking for an open source script or application which would take a private wallet key from the user (from terminal input or file, as mnemonic or xpriv string) and then connect to a bitcoind and ...
1
vote
1answer
30 views
How is BIP 158 wallet rescanning supposed to work with xpub keys?
A light client implementing BIP158 downloads filters and checks its addresses against that filter. If one matches, it downloads the block.
Now, let's say we have an HD wallet (BIP32), and/or an xpub ...
0
votes
0answers
17 views
hardened derivation path with several ' in path
Is it possible to get a path like that : m/0'/0/1' ? I mean a path with sometimes ' in a node and sometimes not.
What a common BIP32 path has several ' in it ? Only one has the start could not be ...
1
vote
1answer
43 views
Derive public key from xpub?
I woud like to obtain an extended public key of a derivation path (m/84'/0'/0').
I'm using btclib, and I have the xpub of the root account.
When I try to use bip32.derive("xpub...","m/...
0
votes
0answers
19 views
dumpwallet lists HD keys in seemingly random order
I was curious when you do a dumpwallet in the default bitcoin client the output file gives you an xprv and then followed by WIF keys, corresponding address, and the hdkeypath.
I noticed the order of ...
1
vote
1answer
110 views
Reusing bitcoin hw wallet infrastructure as a PGP replacement?
A lot of people who own Bitcoin are already know how to securely generate, store and use their BIP32 + BIP39 wallets, and own hardware wallets.
Are there any existing projects/standards trying to bolt ...
2
votes
1answer
67 views
Proving two public keys are derived from the same seed, without revealing the xpub and the path?
Let's think about the following scenario:
Key0 is derived from SEED at path m/44'/0'/0'/0/0
Key1 is derived from SEED at path m/44'/0'/0'/0/1
I am wondering if there's a way to prove that Key0 and ...
1
vote
0answers
61 views
How to get the compressed WIF of my key?
I'm a trying to understand the different encoding on the private keys. What format is used by the iancoleman validator and why? How can I reproduce it?
All my Data is valid.
According to the bitcoin ...
0
votes
0answers
21 views
NodeJS HD Wallet addresses generation issue
I am trying to code a HD wallet using NodeJS
There is the example I started with
https://medium.com/bitcraft/so-you-want-to-build-a-bitcoin-hd-wallet-part-1-8b27aa001ac3
I'm also using this to ...
3
votes
3answers
136 views
Should the BIP 39 mnemonic sentence checksum be eliminated from the standard? Does it do more harm than good?
Should the BIP 39 checksum be eliminated from the standard? Should the BIP39 checksum be made optional to improve security?
0
votes
1answer
24 views
Is it possible to reach same address in HD wallets?
Is it possible to reach same address (same private key) with different mnemonics and different derivation paths in an implant based on BIP32,BIP39 & BIP44 combination?
0
votes
2answers
50 views
Can bitcoin-core wallet be used as the backend for a mobile wallet app?
my idea is to use bitcoin core and it's multi-wallet capabilities as the back-end of a mobile wallet app. The way I think this could be archieved is by creating an empty wallet with bitcoin-cli ...
0
votes
1answer
46 views
Import private key in HSM Luna SA
I need some clarification on how keys are imported into a HSM Luna SA. I should import BIP 32 private keys of multisign wallets. There are currently two keys: one for the user and one held by the ...
0
votes
0answers
42 views
When a BIP44 XPUB and one of its descendant keys get leaked, what's the worst that can happen?
I understand that BIP44 has one edge case vulnerability where if a hacker gets his hands on an Xpub and a private key from its descendants, he can compute the Xprv pair of the original Xpub and ...
1
vote
2answers
54 views
How to use UTXO of xpub derived addresses?
I'm new in Bitcoin, this is something I'm confused with.
If we are deriving children, i.e. public keys, from xpub, without private keys, for the purpose of receiving outputs, how are we able to spend ...
0
votes
0answers
33 views
BIP 32 Private keys to be imported into HSM
Could someone explain to me how the import of private key in HSM works? Below is the information from the manual:
Private Key Import/Export
Private keys can be imported and exported
with existing ...
1
vote
1answer
32 views
is there any way to get derivative path from public key and xpub?
I have an xpub derived from m/44'/0'/1' can I get that path again from generated xpub or pubkey? something like
def get_path(xpub):
return derivative_path
1
vote
1answer
36 views
Test vector 1 BIP32 in Python
i tried to replicate code in this git
https://github.com/tongokongo/bitcoin-basics/blob/master/HD_wallet/bip32.py .
I'm not familiar with python but the xpub is correct (this is the Test Vector 1 from ...
1
vote
1answer
39 views
How does the security of a mobile wallet work?
Let's assume we have a non custodial hd mobile wallet.
Where is the master key stored?
What are the components of the telephone that allow the derivation of keys?
0
votes
2answers
48 views
Clarifications on hd multisig wallet
I need clarification on multisig hd wallets. Let's imagine we have a 2/3 multisig. The first key is generated by the user on a mobile wallet, the second is kept on a server while the third is off-line ...
-1
votes
1answer
53 views
How genereate pub key from priv key ? algo
How to generate pub key from prive key ?
All examples and explain skip this.
but i dont need steps to address etc .
i only need steps from priv to pub ( compressed or not )
what using at that.
if ...
0
votes
0answers
86 views
Howto convert mnemonic->seed->root key->derived addresses with c library (libWally)
I am trying to use the cryptowallet library LibWally to convert a 12-word mnemonic into a set of derived addresses. I believe my mistake is not with the library itself, but a process flow/algorithmic ...
0
votes
1answer
51 views
Which public extended key should I use?
I'm trying to make sense of the information shown here and how the extended public keys work.
The web wallet I'm using only supports this derivation path m/44'/242'/0'/i', so if I understood correctly:...
2
votes
2answers
58 views
Public Keys Prefixes and Derivation Paths
When importing an zpub, for example, to a wallet, does the wallet understand it should recreate a set of addresses using the derivation path "m/84'/0'/0'" and the script type "p2wpkh&...
0
votes
1answer
174 views
Why is BIP32 root key different for different standards(purposes)?
When generating key on https://iancolemen.com/bip39/, the BIP32 Root Key changes as I change the derivation path tab, e.g. BIP32, BIP44, BIP39 etc. Why is this the case? Isn't BIP32 Root Key the m at ...
1
vote
3answers
100 views
Search Derivation Path for an Address
Has anyone written an utility or something able to search/identify which Derivation Path an Address belongs? For example, giving a mnemonic like "unaware open elite rabbit grunt spread session ...
0
votes
1answer
65 views
Working Implementations of BIP85
Can anyone point me to working implementations of BIP85?
The only one I'm aware of is the Coldcard Wallet implementation.
0
votes
1answer
879 views
Bip39 tool - BIP32 Extended Private Key vs BIP32 Root Key
In the bip39 mnemonic tool there is three sections :
Mnemonic : we input our words or a BIP39 seed and the tool compute for us the BIP32 Root Key
Derivation Path: there is a BIP32 Extended Private/...
0
votes
1answer
88 views
How to retrieve extended private key from extended public key + master seed / root private master key
I have a master seed (I use a hardware wallet).
I know how to transform it into a (root) private key.
I have also several public keys, which all was obtained by derived a private/public keys of the ...
2
votes
1answer
140 views
Bitcoin recovery - forgot my 12th recovery word for recovering my crypto account
I have managed to forget the last (12th) mnemonic word to my crypto-account.
Could you please show me how I can find software with which I can enter recovery words from a file so that I can attempt ...
1
vote
1answer
91 views
What is the meaning of 'change' and 'reserve' in a Bitcoin Core wallet dump?
I'm using libwally to derive addresses from an extended private key. I shared the seed with Bitcoin Core (loaded it in a blank wallet with sethdseed), and noticed that there are 2 addresses in the ...
2
votes
0answers
45 views
Is there a simpler form of BIP32-like key derivation?
I've read about BIP32 key derivation functions, and also:
Any Elliptic Curve could work in the BIP32 scheme. The only property
of a Curve that BIP32 relies on is that a * G + b *G = (a + b mod N) *
G,...
1
vote
0answers
76 views
How are the prefixes for EXT_PUBLIC_KEY and EXT_PRIVATE_KEY derived?
I want to know how the prefixes for EXT_PUBLIC_KEY and EXT_PRIVATE_KEY are derived. For example in bitcoin you have:
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,0);
...
2
votes
1answer
126 views
How to get bitcoin bip32 public key from private key?
I need to know how to get the corresponding public key of a private key in hd-wallets, I don't need the derived ones but the public key who is related to the private I got. If there is an algorithm ...
1
vote
1answer
81 views
Can I know if a bitcoin private/public key or address was derived from another key in an HD wallet by its structure?
If I have a bitcoin private key, public key or address, can I know if it is a root private key or some other part which derived from a root private key in an HD wallet by the structure of it?
To be ...
2
votes
1answer
200 views
Generate multiple public bitcoin receiving addresses (HD wallet) from seed phrase in nodejs
I want to generate a new receiving address for my bitcoin wallet for each new user. Bitcoin transferred to all these address should be received in my bitcoin wallet. I don't want to expose my private ...
0
votes
0answers
41 views
Why do most HD wallets require choosing either all Segwit or all Legacy but Bitcoin Core can support both simultaneously?
Electrum and the mobile wallets I've used can only support one type of address per HD wallet, but Bitcoin Core can support both at the same time.
Is that simply a choice that Bitcoin Core made or is ...
1
vote
1answer
44 views
Crypto wallet for payments with no deposit
We are wondering how we can build a wallet that talks to our website and gives the user the ability to request a withdrawal of his funds. We do not know what is the right question for this type of ...
4
votes
1answer
33 views
How to get access to funds on keys that were derived using public key child derivation? BIP 32
If I have a key m/0'/0' and I'm using CKDpub to derive m/0'/0'/0 and then CKDPub to get m/0'/0'/0/0. How do I get access to the funds on the addresses generated by CKDPub?
Can m/0'/0' -> CKDPriv -> ...
3
votes
0answers
20 views
Ypub test vectors missing for mainnet
Following extended key derivation scheme in BIP49 is there a publicly available test vector repository for mainnet? The test vectors in https://github.com/bitcoin/bips/blob/master/bip-0049.mediawiki#...
1
vote
1answer
79 views
How to calculate the checksum of an extended public key?
Very difficult to find definitive info on this.
From what I can find on google and looking at BIP32 it seems like the process to calculate a checksum for an extended key is to decode the base58 ...
1
vote
1answer
28 views
How to know e-Wallet with xpub
How can I know what's e-wallet name provide the wallet?
When I know xpub and xprv and mnemonic
When I get mnemonic (12 words) and get xpub I can get balance with blockchain API
But how can I know ...
1
vote
1answer
86 views
HD wallet lost my private keys?
I just had a computer crash, and when I restored the computer I upgraded from I think Bitcoin 0.17 to Bitcoin 0.19.1. The wallet was gone, so I restored an old copy of the wallet. It's an HD wallet.
...
0
votes
1answer
29 views
Does support HD wallets multi networks?
Due to bip 44 list
https://github.com/satoshilabs/slips/blob/master/slip-0044.md
HD wallets support multi coins.
does it mean HD wallets support multi networks? like omni for bitcoin, TRc20 for ...
0
votes
0answers
33 views
Implement HD Walet Full Node
I have set up a full node on my server. Now, I want to make use of HD wallet methods?
How I generate an address for admin - Master address
How I generate addresses for customers - Child address
...
1
vote
1answer
39 views
Any side-effects of upgrading to HD wallet in relationship to hard forks
I have a very old wallet that I created about 7.5 years ago. I realize that I need to upgrade to a BIP32 (HD) wallet. I am up to date with the latest Bitcoin Core and have kept it relatively up-to-...
4
votes
1answer
139 views
Elliptic Curve Point at Infinity
Let's take into account the Bitcoin curve. My questions are:
What exactly is the "point at infinity"?
Is there more than one "point at infinity"
How can I identify if my EC generated x and y are the "...
0
votes
2answers
38 views
BIP 32 Public Parent Key -> Public Child Key
Reading the BIP 32 section of how to generate Public child key from Public parent key, I got stuck in the following:
The returned child key Ki is point(parse256(IL)) + Kpar.
As I could understand ...