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

52 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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#...
3
votes
1answer
233 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
416 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
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,...
2
votes
0answers
23 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
183 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
128 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
441 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 ...
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 ...
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 ...
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 ...
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); ...
1
vote
0answers
66 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
184 views

Which derivation paths are used by the Abra wallet?

Abra have stated in a reddit comment that their non-custodial HD wallet uses custom derivation paths to convert the user's BIP39 mnemonic seed into cryptocurrency address/key pairs. Has anyone figured ...
1
vote
0answers
94 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
36 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
262 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
73 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
238 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
143 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
359 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
549 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
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
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?
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 ...
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 ...
0
votes
0answers
22 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
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 ...
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 ...
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:...
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
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 ...
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 ...
0
votes
0answers
28 views

in HD wallet implimantation how can I generate public key in master node?

As I know, in HD wallets, we have a seed that called "master seed" with 256bit length. When we want to generate the master node, we use a Hmac-sha512 with this seed as text and "bitcoin seed" as key. ...
0
votes
0answers
42 views

Security of master public key and chain code VS hardened key for server

I have a server that will accept payments from different users and I want to know which method is the best in terms of security. Please consider that the server could be easily stolen/accessed by ...
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
139 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
114 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
206 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
175 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
345 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 ...
0
votes
1answer
429 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
0answers
187 views

undefined is not an object error when adding BIP39 to React Native

I have a React Native Project and it was worked correctly till I added bip39 package to the project. when i try to require bip39 in my component i get the below error. undefined is not an object (...
0
votes
0answers
238 views

Custom derivation path

Instead of using bip32 or bip44 paths what if I use a custom derivation path, For example: m/0/0/55/1/1/0 I am thinking even if the private key is exposed then can someone guess the derivation path ?...
0
votes
1answer
197 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 ...
0
votes
1answer
640 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 ...