Questions tagged [bip-32-hd-wallets]

BIP32, or Hierarchical Deterministic Wallets. https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki

Filter by
Sorted by
Tagged with
1
vote
1answer
29 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 ...
1
vote
1answer
62 views

How does BIP 39 mnemonic work?

As I already understood the mnemonics are the private key separated in 12 words which joined together in the very same order produces the private key. How are mnemonics generated? Why Ledger ...
1
vote
0answers
21 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 ...
0
votes
1answer
31 views

Which BIP describes the structure and algorithm for creating a wallet file?

My app is able to create a public and private key from BIP39. The uncompressed private key is concatenated with a sha256 (private key) and then encrypted via AES and saved to a file. To decrypt, you ...
1
vote
1answer
39 views

Hardened address generation with BIP44 watch-only wallet with xpub

I am puzzled by the hardened key derivation from a watch-only BIP44 wallet. Let me first explain what I am trying to do. I am implementing a 2-of-3 multisig scheme I am using Bcoin node and wallet ...
1
vote
0answers
35 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
1answer
40 views

Bip32 bitcoin core wallet `hdseed` format from xprv master key

I'm trying to use a mnemonic seed to generate a bitcoin-core wallet. I know core does not support bip39, but it does support bip32 and sethdseed should make it possible to use the seed generated by a ...
3
votes
1answer
60 views

Linking Bitcoin addresses based on a private key - is that possible

I have seen a claim as follows: [We] apply algorithms to detect which bitcoin addresses are sharing the same private keys. In most cases, this leads to a high-level assertion of certain addresses ...
0
votes
0answers
44 views

How to create generate addresses for multiple crypto currencies

I am trying to understand how to generate addresses from 1 mnemonic for multiple cryptocurrencies. I needed a read-only wallet, so I guess I need to use an xpub key. But I am struggling to ...
0
votes
2answers
114 views

Bitcoin address generation and UTXO scanning

I'm developing bitcoin payment processing application. I've two question to ask: In each bip32 address, How much UTXO each address should have to consider generating new address to avoid address re-...
0
votes
0answers
37 views

How to validate derivePath for HDWallet?

I am generating addresses for HDWallet while importing account using the Mnemonic Phrase. So I am letting the user enter Mnemonic Phrase and derivePath both. Before generating addresses, I want to ...
0
votes
1answer
82 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
39 views

Does Bitcoin Core still use “Bitcoin seed” in addition to a seed like stated in BIP 32?

In BIP 32 it's stated that a Master Private key is generated by hashing the concatenation of a random seed and the string "Bitcoin seed". And is like so in the example implementations. But I couldn't ...
0
votes
0answers
9 views

Calculating the HD Wallet Balance [duplicate]

While the notion of a balance is not strictly correct in the context of a wallet, it is something that has presented some confusion for me in the context of an HD wallet, especially when importing a ...
4
votes
1answer
83 views

Hardened Keys vs Normal Keys - A Simpler Explanation

I'm trying to better understand hardened keys and normal keys and how the former protects the rest of and HD wallet. Following on from the answer provided here: ELI5: What's the difference ...
0
votes
0answers
30 views

HSM for Hierarchical Deterministic Wallet

I'd like to use a small HSM to manage an HD Bitcoin wallet (BIP32). The HSM does have to correct ECDSA curve, secp256k1, can generate keypair, and sign. My challenge comes from the HD part. In ...
1
vote
1answer
97 views

Why seed from BIP39 mnemonic phrase is much longer than entropy?

BIP39 converts mnemonic "zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo wrong" to the fairly long seed "...
0
votes
0answers
109 views

how to find my btc address and private key using bip32 rootkey

I have one query Using my bip32 rootkey I can see all address I've 250$ into my wallet but when i important the address from my rootkey it's showing only address which i received payment of last 150$...
0
votes
0answers
108 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 (...
2
votes
1answer
67 views

Calculate mnemonic code from terminal

I want to replicate mnemonic code with terminal. the steps are: Create a random sequence (entropy) of 128 to 256 bits. Create a checksum of the random sequence by taking the first (entropy- length/32)...
0
votes
1answer
95 views

Cannot read property 'toWIF' of undefined

I am working on a cryptocurrency site in which each user will have there own individual deposit address to put currency on site. I am using bitcoin-core, bitcoinjs-lib, along with quite a few other ...
0
votes
1answer
35 views

Why the normal mode exist in BIP32

Suppose the BIP32 normal deviation is not safe enough. Suppose the xpub is deployed on the server, we assume it is public, then the leak of any derived private key is the leak of the parent private ...
0
votes
1answer
111 views

How many rounds of HMAC-SHA256 needed to generate the master key in BIP32

In the BIP32, it does not define the round of HMAC-SHA256. In http://bip32.org/, it use 50,000 rounds. In "mastering Bitcoin", it use 2048 rounds. Is there any explicit standard, or what we ...
3
votes
0answers
159 views

Python library for Multisignature HD wallets

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

Should Account-level in BIP32/BIP44 be Hardened?

Let's say we have an ETH trading exchange where we employ BIP32/BIP44 to generate a unique wallet address for each user. For simplicity, each user uses the same wallet address (unique to each user) ...
3
votes
1answer
126 views

A couple of questions on Schnorr sig

In the BIP by Pieter Wuille it is told that the key prefixed version of Schnorr signature is needed when the scheme is used in combination with BIP32's unhardened derivation. Could someone provide an ...
0
votes
3answers
321 views

What is the advantage of HD Wallets?

I have read man resources and questions about HD Wallets. As pointed out in this question on SO, it won't be possible to send funds of a derived child address using the master private key. In my ...
0
votes
1answer
328 views

Possible attack vector of BIP32 HD wallet

I've been reading about BIP32 HD wallet and it's implementation and came across a few questions regarding the possible known "attack" vector of leaked private child keys and known xpub parent key ...
1
vote
1answer
285 views

General private/public key generation

Not sure if this is the correct forum to ask, but I couldn't find a general one for all cryptocurrencies I wanted to get an idea on how the whole cold-storage private/public key generation works for ...
0
votes
1answer
90 views

Can I recreate the xpub key if I have multiple public addresses with their corresponding private keys?

Is it possible to recreate the xpub key if I have multiple public addresses with their corresponding private keys? All the keys were created from the same HD wallet. I was hodling and watching my ...
2
votes
1answer
209 views

Is there a list of coins that are bip-32 compatible?

BIP 32 allows me to derive keys based off a root key pair, and all these keys will be on the secp256k1 curve. That means I'll be able to use BIP 32 for other coins that are also based on your curve. ...
0
votes
1answer
421 views

BIP-32 - how can parent extended public key exposed parent extended private key?

The below is the snippet from bip-32. I do not understand under what circumstance would 'parent extended public key' be exposed? In the case of e-commerce a 'child extended public key' is derived from ...
0
votes
1answer
47 views

Is auditing a BIP32 tree only possible if it is non-hardened?

BIP 32 allows you to to implement the auditor use case: Audits: N(m/*) In case an auditor needs full access to the list of incoming and outgoing payments, one can share all account public ...
2
votes
0answers
91 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.
1
vote
1answer
294 views

BIP 32 child key derivation “stops working” after a certain index (i)

Here's my code to get a child public key from a parent HD key. I adapted it from freedomnode: public function address_from_master_pub($path = '0/0') { if ($this->xpub === NULL && $...
1
vote
1answer
430 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/...
1
vote
1answer
107 views

Access custom BIP32 paths on trezor

So I really have 2 problems now: I took xpub address for Dash from trezor and used it with blockcypher API to generate addresses with paths like m/0, m/1, etc I sent some money to that addresses and ...
1
vote
0answers
32 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
3answers
1k views

How to generate public and private key pairs from the 12 seed words in python

I basically followed the instructions here How to generate mycelium addresses from the 12 words in python So my code is similar: from bip32utils import BIP32Key from bip32utils import BIP32_HARDEN ...
2
votes
1answer
105 views

How are bip44 coin identifiers assigned?

There is a list of bip44 identifiers for altcoins here. It uses the term registered coin types. My question is, is there anything in code for each coin that the bip44 number is derived from, or this ...
1
vote
2answers
176 views

HD Wallets Difference between a CKDpub and CKDpriv from the path notation

I' m still trying to grasp the conventions used in HD wallets, so I have a couple of questions: What's the difference between CKDpub and CKDpriv from the path notation. What I know is the path just ...
0
votes
1answer
337 views

HD Wallet Child Private Key Derivation Function

I was trying to understand the specs on CKD function from both the bip32 standard and Mastering Bitcoin book, I couldn't understand how a private key is derived from the left side of the extended key. ...
4
votes
1answer
530 views

In HD Wallet recovery how does the wallets know which addresses to recover

I have been reading the BIP32 proposal explaining how HD works but it didn't mention on any point how one wallet in one phone can recover from a simple mnemonic seed. Does it just try all possible ...
0
votes
0answers
179 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 ?...
2
votes
1answer
834 views

How to generate a Litecoin testnet addresses (Segwit also) (Derivation path, bip32)

I'm creating a wallet that generates address for litecoin mainnet in two ways. One is using bitcoinjs-lib. This library has an object with all the data need it to create private keys and address: ...
0
votes
0answers
28 views

How to get private key from 12-word backup and public key? [duplicate]

It turned out, to one 12-word backup, billion address could belong. It is not always sure app like Copay found all the address contains money. Is it a way to infer the private key from 12-word ...
1
vote
1answer
161 views

BIP32 Neutered function

Can the following be clarified, where I am wrong: The Xpriv can derive a hardened xpriv. It can also derive a non hardened xpriv, which we will use with the neutered function to make it an xpub. ...
0
votes
2answers
126 views

If Two Cryptocurrencies use different curves, Can They be in the same HD Wallet?

I was looking through some code for HD Wallets and I saw that they used curve param.N which is specific for whichever curve is used. Does this mean that when using HD Wallets to derive Private keys, ...
2
votes
1answer
724 views

BIP44 external and internal accounts

Below I may be a bit verbose, so that if my understanding is wrong, it will be glaringly obvious. Consider two external accounts: The external accounts are used to receive bitcoin. When we search ...
2
votes
1answer
423 views

What does 44' mean in BIP44?

After reading BIP44, I saw Purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation. I believe 0x8000002C is 128 as an integer, how does this equate to 44' however? ...