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
25 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
1answer
81 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 ...
1
vote
1answer
61 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 ...
0
votes
1answer
164 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 ...
2
votes
1answer
691 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 = '...
5
votes
3answers
5k views

How do I view the extended public key in Electrum?

Someone's asking for my extended public key. How do I view this? What are the consequences of giving this to someone? Can they steal my Bitcoins if I give this to someone?
1
vote
0answers
20 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 ...
2
votes
2answers
498 views

getnewaddress (RPC) on encrypted bitcoin wallet without wallet password?

Say for example an encrypted wallet has 5000 addresses already pre-generated in the keypool. Can getnewaddress be called via RPC command without knowing the actual wallet password? I envisage a ...
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
38 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 ...
4
votes
2answers
2k views

I want to generate a BIP32 version number for Namecoin and other altcoins

I want to make a BIP32 wallet for Namecoin and other alt coins. I just need to figure out how to generate a a public and private version number so that the BIP32 extended key prefix is something that ...
0
votes
1answer
420 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 ...
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
39 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
59 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
113 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
36 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
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
80 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
1answer
464 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
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 ...
2
votes
2answers
375 views

Electrum: How to generate hardened public addresses with HD BIP32 wallet

Please comment on the accuracy of this explanation. Scenario: The master public key is compromised and so all non-hardened public addresses can be generated and monitored by a third party. This ...
0
votes
3answers
199 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
1answer
96 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 "...
4
votes
3answers
6k views

How to import a HD wallet from an extended private key

I'd like to export a derived private key from my Electrum HD wallet, and use it as a HD wallet master key in a Mycelium wallet. I used bx to get the key like this (m/2'/0) (where m is the unencrypted ...
0
votes
0answers
108 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 (...
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 ...
1
vote
2answers
1k views

Unsure order of 12 word mnemonic

I have a 12 word mnemonic but I'm unsure of the order, I know that the BIP39 mnemonics use a checksum, are there any tools I can use to re-order the 12 words correctly so that they pass the checksum?
2
votes
1answer
65 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
94 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
34 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 ...
1
vote
1answer
812 views

How many combinations are there from the BIP32 mnemonic list?

As I understand for BIP32. There are 2048 words. 12 words would give you 2048^12 combinations. However, not all combinations are valid because of the checksum, so how do i calculate the actual space?...
0
votes
3answers
728 views

Are there standardized ways of generating wallets from passphrases?

Brainwallet is a well-known tool that lets you generate an address from a passphrase. I think Brainwallet just performs a single SHA256 hash on the passphrase to get the 256-bit private key of the ...
0
votes
2answers
251 views

BIP 44 master private key sign tx

I have this Bip44 path implemented m / purpose' / coin_type' / account' / change / address_index Is it possible to use the Master private key to sign all the tx ie. Bitcoin TX, Etherum TX or do I ...
0
votes
1answer
110 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 ...
2
votes
1answer
98 views

Is disclosing an index used for generating BIP32 addresses insecure?

I'm writing an e-commerce system that uses BIP32 to generate addresses. I was thinking of using the order number (which is shown to the user) to as the index for generating the address to pay to. ...
6
votes
3answers
1k views

What BIP32 derivation path does Electrum use for Multisig?

Same question as What BIP32 derivation path does Electrum use? but for multisig. thanks.
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
64 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
320 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
326 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
282 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 ...
4
votes
3answers
2k views

How can I watch all addresses under HD wallet?

Is there any way to watch all addresses under HD wallet? I'd like to notify users when any of addresses in a HD wallet receive BTC. It looks like bitcoind (walletnotify) doesn't support HD wallet. ...
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. ...
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 ...