Skip to main content

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

Filter by
Sorted by
Tagged with
1 vote
2 answers
127 views

Lost funds? Generated child address (HD Wallet BIP32) without Node path

I have an app that generates 1 public address = 1 transaction using HD Wallet. However I forgot to put the node path /0 while generating the child address and my Bitcoin Core wallet does not recognize ...
4 votes
1 answer
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 = '...
1 vote
1 answer
507 views

Generating HD Wallet Addresses in Java Using Bitcoinj

Is there some method that can be used to get the address, private and public key for any type of supported coin in a HD wallet? I can correctly generate these for Ethereum, which I verified on https://...
0 votes
0 answers
32 views

How can I create a new prefix for an extended key (xprv, zprv...)?

I'm trying to create a new prefix to change the prefix of a xprv, but it doesn't work, what I need to know for do it? I'm looking to use the prefix 'nxprv'. I'm trying to use this code(it works to ...
1 vote
2 answers
83 views

How does a HD wallet work in practice?

EDIT - I have refined the question in the post to be more succinct. If I derive multiple child/grandchild key pairs from the original master public key, I understand each of these is its own specific ...
1 vote
1 answer
197 views

How might you detect if two extended public keys have the same root private key?

Say I derive three extended public keys1 (normal mode): Parent: Pubkey: 035f743ee7d73d27e8c80f6b2458e6d4e2a45f3d7dd35c4e4d84ff3d939d09f40c Chaincode ...
1 vote
1 answer
32 views

What is the "extended private masterkey" line of a dumpwallet file?

What is the "extended private masterkey" in a dumpwallet file? It begins with xprv.
-1 votes
2 answers
349 views

Create a Bitcoin Core wallet from a recovery phrase

Is there a way to create a wallet from a Hierarchical Deterministic recovery phrase in Bitcoin Core 0.21.0? I'm using the x64 Windows cli version, in case that matters.
0 votes
0 answers
28 views

How to claim funds in a multisig address from a money pool psbt?

Mostly followed this guide on how to create a psbt where multiple users pool money together. Everything is done in regtest. The gist of what I did is as follows: Created 2 different descriptor ...
1 vote
0 answers
75 views

Xverse Wallet. Logs into an account with a different wallet

Such a disaster happened. I created an Xverse wallet on April 20, copied the address and sent Ordinals tokens to it (address - bc1p...). I logged in today, I was kicked out of my wallet and asked to ...
1 vote
0 answers
17 views

How to get my bitcoin out of Mycelium?

I want to leave Mycelium. I have heard nothing but that it’s Jurassic. I would like to use a new wallet. I have no idea what wallet to use but I have like $48 in bitcoins. I know it’s not a lot, but I ...
2 votes
1 answer
240 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 ...
3 votes
2 answers
1k views

Recovering wallet using BIP32/wordlist/.priv file

I was using Msigna but it's having issues connecting to the localhost (Running updated bitcoinqt). I sent coins to my old account without waiting for sync (noob move) but now I'm unable to access the ...
0 votes
1 answer
1k views

Does the used standard (BIP44, BIP49, BIP84) define the type of addresses used?

I have a few questions regarding wallets and BIP44/49/89 standards. In many places I found that BIP44 is used for traditional addresses (P2PKH) and that the path is m/44'/.... Also, if we want another ...
0 votes
1 answer
614 views

get extended public key from extended private key in python

Can anyone tell me how I can get the extended public key from an extended private key in python. I know that I need to get the public key from the private key and that the public key + chain key = ...
0 votes
1 answer
140 views

How to implement stake.com model of deposit & withdraw flow for my crypto poker casino?

In stake.com for each user they generate separate bech32 address for deposit & displays the deposited amount as balance in top of the navigation bar. Similarly for withdraw they just ask for the ...
1 vote
1 answer
39 views

Having Address format, infer derivation path or BIP used

Hello fellow Bitcoiners. While studing bitcoin, I came across an issue, I wanted to ask if someone knows how to know which derivation path a 1xxxxxxxxxxx address was created with. I know that ...
0 votes
1 answer
873 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
1 answer
60 views

Where does the term "derivation path" originate

BIP-32 never mentions the term "derivation path" but a quick search (https://bitcoinsearch.xyz/?search=derivation+path) returns a bunch of results so one must assume "derivation path&...
1 vote
1 answer
271 views

developing hd wallet using bip32 and bip 39

I'm developing a HD wallet using C#. I want to use this wallet for multiple blockchains like bitcoin, ethereum, dogecoin etc... I've read that I should use bip32 for my wallet. i know what's bip32 but ...
1 vote
1 answer
2k views

Golang how to derive address from bip32's xpubkey?

i'm trying to derive HD address of bitcoin using Golang. I have extended private/public key. The problem is i'm unable to find any library in Golang that can generate/derive address from the xpubkey/...
0 votes
3 answers
280 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 ...
1 vote
1 answer
6k 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/...
1 vote
1 answer
59 views

multiple multisigs with minimal cold devices

I want to maximize security but minimize complexity. Let's say I have large enough sums of BTC that need to be secured into three buckets: KYC Personal BTC Non KYC Personal BTC (mined) KYC Company ...
1 vote
0 answers
132 views

How to generate private key from 24-word mnemonic phrase? (Native Segwit)

When Googling, entire first page consists of people linking to online "calculators" (no thank you) or outdated bip39 code which no longer works. I have a 24 word seed phrase (from ledger ...
0 votes
1 answer
311 views

how to get masterkey and consequent wallet keys from root seed?

So basically i am trying to create my own crypto wallet application in python, i have generated the random entropy, calculated the checksum, generated the 12 words and then generated the root seed ...
1 vote
1 answer
625 views

Webpack issue with tiny-secp256k1 and ECPair

I am developing a browser extension using Webpack v5 and incorporating the bitcoinjs-lib and ecpair libraries to create a Bitcoin wallet. However, I am encountering an error when attempting to load ...
1 vote
2 answers
270 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
0 answers
10 views

Public key collision/address reuse and HD wallet path search space [duplicate]

If you load the same key and the correct path into different wallets, and it properly generates a new address for every transaction, would the two wallets generate the same address in a sequential ...
3 votes
2 answers
127 views

How can a hacker steal the funds received in the future when there is only an xpub on the server?

In book titled "Mastering bitcoin" 3th edition, on page 114, there is a sentence as below. Gabriel’s website does not contain any private keys and therefore any hack of it can only steal the ...
1 vote
2 answers
637 views

Storing entire seed from bip39 mnemonic using WIF

I'm using the bitcoinjs collection of libraries, specifically https://github.com/bitcoinjs/wif, https://github.com/bitcoinjs/bip32 and https://github.com/bitcoinjs/bip39 with nodejs. I have a mnemonic ...
6 votes
2 answers
862 views

XPRIV/XPUB type for P2TR

As far as I understand, there is a standard that describes what address types an extended private key or extended public key is intended to derive and it works as such: xpriv/xpub => Legacy ...
2 votes
2 answers
254 views

Why does each Bitcoin wallet application generate the same new receive address?

I use Sparrow, Ledger Live, BlueWallet and Nunchuk Bitcoin wallets. I was under the impression that new receive addresses are randomly generated. However, I have noticed that each wallet application ...
3 votes
1 answer
111 views

Core-Lightning Derviation Path

What derivation path does Core-Lightning use to end up at the Node Public Key (and private key), given a mnemonic seed?
-1 votes
1 answer
42 views

Using bitcoinlib created wallet on exchanges

I am trying to get familiar with crypto trading, and I know enough Python to be dangerous. Including the ability to created HD wallets using bitcoinlib. My question is, can I use my bitcoinlib created ...
6 votes
3 answers
484 views

Python library for Multisignature HD wallets

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

Need Help Deriving Extended Private Key from Bitcoin Root Extended Public Key and Non-Hardened Extended Private Key

I am currently working on a challenge that involves deriving a non-hardened extended private key for a specific search path in Bitcoin. The challenge provides the following information: Bitcoin root ...
0 votes
1 answer
79 views

Do hierarchical deterministic wallets require higher fees as a trade-off for privacy gains?

This is my first post here, so be kind :-|. My understanding of deterministic wallets is that they use an initial seed to create a master key from which you derive multiple receive addresses thus ...
4 votes
1 answer
2k views

Is the "recovery phrase" generated by a wallet app platform independent?

I recently started a wallet with Coinbase Wallet, and I was asked to backup a 12 word "recovery phrase" that is supposed to be able to recover my wallet in the event that I delete the app from my ...
0 votes
0 answers
46 views

Understanding signrawtransactionwithwallet and the Transaction Signing Process

I would like to understand all the advantages of a descriptor wallet. I comprehend that the wallet safeguards the user by not exposing the private key. However, when I use bitcoin-cli listdescriptors ...
0 votes
0 answers
38 views

An efficient algorithm for multi-address transactions in a deterministic wallet

I am developing my Bitcoin wallet (testnet) on Python using the Cryptos library. I started integrating support for deterministic wallets and mnemonic words. Now I have enabled users to generate ...
1 vote
1 answer
96 views

Why do PSBT and Descriptor enforce providing the BIP32 derivation path from the root?

Let's consider a scenario: I have a master xprv named xprv1, and I derived an xprv named xprv2 at m/99/88h. Now, I want to use xprv2 to create a new multi-sig wallet, intending to use m/99/88h/0/* as ...
3 votes
1 answer
107 views

Mnemonic from Node.js app not restoring in other wallets

I'm working on a Node.js app that makes RPC calls to my node, and I'm having trouble restoring a mnemonic created with bitcoinjs-lib, bip32, and bip39. First, I create a blank wallet that accepts ...
0 votes
0 answers
27 views

Can I use 2 individual private keys to spend from my Bip32 HD 2 or 2 multisig?

Example keys are fake: If I build a 2 of 2 in Sparrow or any Bip32 Determ wallet, with P2WSH native segwit, and ONLY send funds to the very FIRST receiving address: m/48'/0'/0'/2'/0/0: ...
1 vote
0 answers
114 views

Bip32 Root Key in Metamask Signature? [closed]

I recently fell victim to an inferno contract that took a significant amount of my ERC-20 coins. I realize that this is a Bitcoin site, but a white hat hacker approached and offered to help, and told ...
0 votes
1 answer
351 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
2 answers
889 views

How do I move (sweep, export) my private keys from my Electrum standard wallet to a new HD wallet using Electrum?

My present wallet which I have been using to accumulate BTC (50+ utxos) is a Electrum Standard, script type is p2pkh, with seed available and the keystore type is bip32. I assume that I should now ...
4 votes
1 answer
77 views

Is there any benefit from creating hardened child keys from unhardened parents?

In the context of BIP32, is there any benefit from deriving a hardened key from an unhardened parent? E.g., m/0'/0/0'? Are there any examples of where such a key is being used?
2 votes
1 answer
293 views

How is an HD Wallet Key Generated?

Please help me understand how you generate a Private key + Chaincode from entropy. As I understand it, you generate entropy which should be random and can vary from 128 - 256 bits of data. You could ...
2 votes
1 answer
1k views

I need to get BTC addresses from a 12 word phrase, but I don't understand what to do next

I need an algorithm for translating a 12-word phrase to BTC SegWit bech32 P2WPKH addresses. I wrote a function in Python that returns a seed, but I don't understand what to do next. Here when entering ...

1
2 3 4 5
11