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

Filter by
Sorted by
Tagged with
0
votes
1answer
19 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
42 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
23 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 ...
6
votes
4answers
2k views

What BIP32 derivation path does Electrum use for Multisig?

Same question as What BIP32 derivation path does Electrum use? but for multisig. thanks.
0
votes
1answer
163 views

Try to migrate Bitcoin Core wallet to an HD wallet but get “St13runtime” exception

I am trying to follow these steps to migrate my wallet to an HD wallet. But it failed, the debug log has errors like this: EXCEPTION: St13runtime_error DeriveNewSeed: AddKeyPubKey failed bitcoin in ...
2
votes
0answers
166 views

How to send & receive bitcoin using bitcoinjs-lib?

First I create HD Wallet using BIP32 using mnemonics. Now I want to generate new child addresses with private key using xpub & xpriv for every receive. Then for example, I received BTC in 2 ...
0
votes
0answers
36 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 ...
0
votes
1answer
49 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:...
1
vote
2answers
37 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
1answer
48 views

Derived address different from CLI to NodeJS

Basically I'm trying to create a system in which each user has it's own address to deposit on the site, however I'm having issues with monitoring addresses as they appear to be different results ...
0
votes
2answers
32 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 ...
0
votes
0answers
28 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
28 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
31 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
29 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?
3
votes
1answer
220 views

Python library for Multisignature HD wallets

Is there is any python library is available that allow creation of Multisignature HD wallets ?
0
votes
1answer
315 views

What's the magic key version bytes for BIP49

I'm implementing BIP49-compatible key derivation for bitcoin-s, but I'm having a hard time finding the magic version bytes to use for the extended keys. I've been looking at BIP49, but can't find ...
-1
votes
1answer
44 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
1answer
49 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.
1
vote
3answers
51 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
0answers
77 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 ...
2
votes
2answers
45 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
77 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 ...
0
votes
1answer
626 views

How can i switch from BIP32 to BIP44 using bitcoinj

i am working on a wallet that is using BIP32 for creating Accounts, addresses, xpub, public keys, transaction and etc. but now i want to switch from BIP32 to BIP 44. how can i do this using bitcoinj i ...
2
votes
1answer
416 views

How can I recover last word of BIP-32/39 mnemonic copay second signature multisig wallet

I've got a multisig 2of2 wallet in copay. I've one wallet correct but have lost second wallet and only have 11 of the 12 words of the seed.I'm pretty sure I miss the last one. I've got some of the ...
0
votes
3answers
221 views

Bitcoin system with payins and payouts using bip32

I want to build an automated system, that can accept payments from users in bitcoin and can make payouts to addresses, specified by users, as well. BIP32 says, that the best way to accept payments is ...
0
votes
1answer
165 views

Procedure for Deriving Payment Addresses

I'm trying to understand the HD wallet payment derivation procedure, so assume: Ownership of a Bitcoin HD Wallet on an external smart device Exported account level extended public key (xpub....) from ...
5
votes
1answer
2k views

How do I remove Wallet from Bcoin?

I'm playing with bcoin cli and created lots of wallets. Is there any way to remove wallet via WalletDB Api?
0
votes
1answer
193 views

Electrum 2of2 multisig both cosigners share the same priv key

I set up this wallet on the same machine online. Thinking that was it, it was only until i sent funds to this wallet and tried to spend them that i could only partially sign the transaction. I opened ...
2
votes
1answer
962 views

Generate addresses from Trezor's xPub using Python

I am trying to generate BIP32 HD addresses from my Trezors xPub key. I keep getting errors with most of the libs our there. What am I missing? pywallet: from pywallet import wallet xpub = '...
0
votes
1answer
383 views

HD wallets and multisig

Is there any standardized way to define HD wallet accounts used to participate in multi-signature transactions? How do existing multisig wallets derive their keys from the seed it? How is Bitcoin Core ...
0
votes
1answer
377 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
61 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
77 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 ...
2
votes
1answer
101 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
57 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 ...
1
vote
3answers
835 views

Gap Limit, is always a problem possible to fix?

I want to accept BTC payments but I'm a bit worried about the gap limit. I've read our wallet could miss the funds beyond the gap limit if that happen. But I also read that we could fix that easily ...
5
votes
1answer
113 views

Why do the xpubs from electrum and trezor not match when creating a multisig wallet?

For a little background, I am trying to set up a 2-of-3 multisig wallet with 2 trezors and a coldcard. I am trying to verify that my setup is correct before putting any meaningful amount of money in ...
2
votes
0answers
44 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
64 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); ...
1
vote
1answer
76 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
107 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 ...
1
vote
1answer
64 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 ...
7
votes
1answer
692 views

If a single private key of the HD bitcoin account is compromised, is the whole HD account compromised?

The subject pretty much asks it all. I asked the same question on the Mycelium web site but did not get an answer. An HD account can have multiple private keys. Suppose one of the previous private ...
0
votes
0answers
39 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 ...
0
votes
1answer
82 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. ...
2
votes
1answer
30 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 -> ...
2
votes
0answers
16 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
26 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
2 3 4 5
8