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

57 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
239 views

Python library for Multisignature HD wallets

Is there is any python library is available that allow creation of Multisignature HD wallets ?
3
votes
0answers
424 views

Electrum Seed Purpose for MultiSig Wallet

I'm curious as to what exactly is protected by the seed that Electrum generates for a multisig wallet. My knowledge of the protocol implementation is rather basic, so please correct me where I'm wrong ...
2
votes
0answers
39 views

Is BitCoin developer page's HD Wallet image wrong

Here is the image I copied from the https://developer.bitcoin.org/devguide/wallets.html#id9 What I understand is that M/0'/1' can derive M/0'/1'/0. M/0'/1' can't derive M/0'/1'/0'. To derive M/0'/1'/0,...
2
votes
3answers
242 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 ...
2
votes
0answers
46 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,...
2
votes
0answers
21 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#...
2
votes
0answers
28 views

What heirarchical deterministic derivation path is used for FIDO authentication on a Ledger Nano S?

What heirarchical deterministic derivation path is used for FIDO authentication on a Ledger Nano S? Does it ask for a different key each time or is it always the same key? If I connect to Google for ...
2
votes
0answers
207 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 ...
2
votes
0answers
131 views

What are segwit extended key prefix bytes for regtest?

I need the HD version bytes for equivalent of ypub, zpub, Ypub, Zpub but on the regtest network. I also need Ypub on testnet. All the rest I can find in slip132, but it is incomplete. thanks.
2
votes
1answer
1k 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 = '...
2
votes
1answer
471 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 ...
2
votes
1answer
570 views

BIP32 HD Wallets: HMAC vs. “just” Hashing the Seed

In A. Antonopoulus' Mastering Bitcoin (2nd edition) on page 106, there is a nice illustration showing how the basis for a BIP32 HD Wallet is generated: So here is the one thing I don't understand ...
1
vote
0answers
20 views

Generating HD wallet seed phrase

got a new hardware wallet and thinking of using my own set of bip39 words instead of wallet generated one, combined with a passphrase.
1
vote
0answers
18 views

How to store hd wallet seed in production server

I've developed a cryptocurrency payment gateway, which is a web application that generates new addresses for users, I've developed a HD wallet as a hot wallet for my application, and all addresses for ...
1
vote
0answers
23 views

How to calculate and spend funds received from derived addresses

Assume I have a xpub for path m/44'/0'/0' and I generate receive addresses from it like m/44'/0'/0'/1 to m/44'/0'/0'/n where n could get really large as time passes. My question is: Where does these ...
1
vote
1answer
114 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 ...
1
vote
0answers
115 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 ...
1
vote
0answers
112 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
0answers
80 views

Does Electrum reveal a wallets public key to Electrum Servers?

When Electrum Bitcoin wallet queries a random Electrum Server does it send the public key to the server or does it send a batch of addresses to check? For instance, after setting up Electrum Personal ...
1
vote
0answers
107 views

Bitcoin core read-only

I have system where users can generate addresses and bring some coins, and get bonuses after. I want to make my core read-only. For this I have a second bitcoin core which have not connected to ...
1
vote
0answers
37 views

Lightning Network: are all keys pre-generated in the base row of the merkle tree?

From the whitepaper, page 41: Keys are generated in a merkle tree and are very deep within the tree. For instance, Alice pre-generates one million keys, each key being a child of the previous ...
1
vote
0answers
278 views

Stateless vs Stateful wallets

Stateless wallet are wallets that do not store any information locally on the device. Stateful wallets are wallets that store information such as index of unused address. According to my ...
1
vote
0answers
74 views

How to list non-HD addresses in bitcoin core?

Let's say I imported some private keys, how do I distinguish between those and addresses generated from the HD master key?
1
vote
0answers
252 views

Creating HD wallets with BouncyCastle in C#?

I'm trying to write a class that can be used to generate public/private key pairs for bitcoin (and any of its 'clones'), I found some code elsewhere that uses BouncyCastle to generate keys, here's the ...
1
vote
0answers
2k views

How to dump all private key from wallet.dat (walletversion > 130000)?

I tried to use pywallet and it can't dump all of the wallet's private keys. When I send 10 transactions & decode raw transactions, I will get 10 new addresses, but I can't dump all of the private ...
1
vote
0answers
149 views

HD P2SH Wallets Compatibility with P2WPKH

Are BIP32 Hierarchal Deterministic compatible with P2SH addresses? Not as multisig but instead for the new P2WPKH?
1
vote
0answers
362 views

I forgot the index of my BIP32 key

I had chosen at random an index for storing some bitcoins. My key derivation path is Bip32 m/0h/1 How would I go about generating all 2 billion keys and check which one has the funds I stored? The ...
1
vote
1answer
3k views

Create addresses in bulk; and check balance

I am new to Bitcoin; our company wants to use bitcoin for payments. We need to create a address for each transaction. so we need to create many public address. First, I need to generate many public ...
0
votes
2answers
58 views

How to correctly create and import a SegWit paper wallet

I use Bitcoin Core to create SegWit paper wallets for friends and family. After creating the wallet via the GUI, the steps I take are as follows: getnewaddress # Carry this public key back to the ...
0
votes
1answer
42 views

Verify that WIF corresponds with bip32 extended public key

I have a bip38 encrypted private key that I lost the password to, and I have its corresponding extended public key. I want to brute force passwords as I have an idea of what it might be, but I need to ...
0
votes
0answers
70 views

Mycelium - understanding of keys

Under the Accounts tab in Mycelium, it says that Account 1 "Contains 3 private keys." My understanding is that a public/private key pair is generated for each address type/format (p2sh, ...
0
votes
0answers
28 views

Mycelium - multiple accounts

Are there best practices for when you'd create multiple accounts? What are examples of meaningful names for accounts?
0
votes
0answers
51 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?
0
votes
0answers
18 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 ...
0
votes
0answers
37 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 ...
0
votes
0answers
30 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 ...
0
votes
1answer
85 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
51 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
0answers
49 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 ...
0
votes
0answers
149 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
2answers
65 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:...
0
votes
1answer
83 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
0answers
46 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 ...
0
votes
0answers
39 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 ...
0
votes
0answers
57 views

Pass BTC from payment address to master address, when the payment address receives them

I am doing a cold wallet. How can I make that when a payment address receives a transfer, these BTCs go to the master address from which the payment one was derived?
0
votes
0answers
173 views

find bip32 seed from transaction

Based on my bip32 word list, I have a list of about 100k seed phrases that pass checksum and am trying to figure out my actual seed. Earlier, I was derivign the xpub key and searching the blockchain ...
0
votes
0answers
122 views

How to communicate with Bitcoin core 0.17 using bitcoinj for hd wallet creation?

Hi am building one hobby project and i want to perform some operations in my own bitcoin core 0.17 by using bitcoinj lib. so is there any way by which we can use bitcoin-core 0.17,bitcoinj for hd ...
0
votes
1answer
265 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 ...
0
votes
1answer
192 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 ...
0
votes
1answer
395 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 ...