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

45 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
74 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 ...
5
votes
1answer
1k 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?
3
votes
1answer
212 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
409 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
37 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
14 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
22 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
128 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
123 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
917 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
0answers
379 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
0answers
33 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
51 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
78 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
231 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
71 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
219 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
131 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
354 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
1answer
33 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 ...
0
votes
0answers
34 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
27 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
14 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
23 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
54 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
1answer
41 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
0answers
54 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
97 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
0answers
29 views

How to generate a Child Public Key in HD wallets?

is the first param of CKD must be parent private key ? if i want to extended public key. can i do it like ChildPublicKey = CKD(parent_public_key,parent_chain_num,child_index_num)[0:256] or must ...
0
votes
1answer
117 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
142 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
274 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
0answers
164 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 ...
0
votes
1answer
308 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
170 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
225 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
188 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
609 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 ...
0
votes
0answers
605 views

How do I get my master public key from a wallet?

If a HD wallet only gives me the 12 word mnemonic, how can one get the master public key?
0
votes
3answers
217 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
540 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
votes
3answers
579 views

can I use same wallet/private keys twice

can i use the seed words of my online blockchain.info wallet on a trezor so i create a trezor wallet which has the same private keys as my blockchain.info wallet?And in the future i will only use my ...