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

Filter by
Sorted by
Tagged with
1
vote
1answer
16 views

bip-schnorr and HD Key Derivation

Is it safe to use HD Key Derivation with bip-schnorr? The bip mentions that you should not throw away the first byte of a generated key. It is important to not mix up the 32-byte bip-schnorr public ...
3
votes
2answers
72 views

Is it possible to determine the index of a bip32 address?

Let's assume that we only have the bip32 derived btc address, no private or public key. Is it possible to find out its index used for the bip32 generation?
0
votes
1answer
33 views

Best script/pseudocode to convert xpriv to xpub?

I'm looking for a script/pseudocode/utility (preferably, code in javascript/c++ or a secure, verified and open-source rpc client) that can convert a given xpriv to xpub. Only one I've found (but not ...
1
vote
1answer
61 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
82 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 ...
2
votes
0answers
17 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 ...
1
vote
0answers
28 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
32 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
44 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
42 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
61 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 ...
1
vote
1answer
28 views

Creating a multisig wallet with bcoin and receiving transactions

I am trying to create a multisig wallet from two externally generated xpubs. The process I am taking is to create two multisig wallets with the two xpubs, add each others keys as shared keys and ...
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
53 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
144 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
1answer
29 views

How does Trezor recover all public keys from different blockchains?

I understand that the Trezor is a HD wallet, meaning private-public keys are generated through a deterministic, hierarchical expansion of the root seed. However, when I am in a process of recovering ...
0
votes
1answer
39 views

2nd 'air-gapped' computer / cold wallet setup for travel

I travel quite a bit and don't want to lug around a 2nd 'air-gapped' computer. I know that connecting a hardware wallet like a Ledger Nano S to the Ledger Live desktop app running on a computer that's ...
3
votes
1answer
30 views

What's the consensus on using a non-networked VM as a cold wallet/airgapped computer?

I'm wondering if connecting a hardware wallet like a Ledger Nano S to the Ledger Live desktop app running on a computer that's connected to the internet not considered a 'fully cold' wallet setup. How ...
0
votes
0answers
41 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
91 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
40 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
1answer
21 views

is Gap Limit only for consecutive address?

Suppose we generated 35 address, 1 to 5 are paid, 6 to 34 not paid/used and 35 paid. Because of 20 gap limit we won't see 35 in our wallet, but what happen if we send some money to address 19 for ...
1
vote
2answers
609 views

Gap Limit, is always a problem possible to fix?

I want to accept BTC payments but I'm a bit worried about the gap limit. I've read our wallet could miss the funds beyond the gap limit if that happen. But I also read that we could fix that easily ...
0
votes
0answers
11 views

Restoring an HD wallet tree [duplicate]

I saw this question: How does restoring an HD wallet work? I think the answer fits to a chain wallet (Seed) and the process is different while it's on a tree. I still don't understand how the ...
0
votes
1answer
57 views

Understanding default bitcoin wallet in bitcoind

I am new to block-chain, so please bear with my questions. I need to understand the basics of a bitcoin-wallet. So I have setup a bitcoin full node using bitcoind in running in testnet mode. As I ...
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
96 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 ...
0
votes
1answer
145 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 ...
1
vote
1answer
113 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 "...
2
votes
1answer
103 views

Export Xpubkey from Bitcoin Core

How do I export my HD wallet's Xpubkey in Bitcoin Core? Do I construct it using the value of "hdseedid" returned by getwalletinfo?
0
votes
0answers
92 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
0answers
152 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
1answer
76 views

Expected property “0” of type ECPair, got p

When I'm trying to create a wallet in react app using the following code: const seed = bip39.mnemonicToSeed(mnemonic); const master = bitcoin.HDNode.fromSeedBuffer(seed, "testnet"); I got error: ...
0
votes
1answer
176 views

Bitcoin Core 0.17 sethdseed then dumpwallet how to recompute extended private masterkey?

Using bitcoin-cli -datadir=X sethdseed true "WIF_KEY" the current wallet within datadir is updated Then, using bitcoin-cli -datadir=X dumpwallet my_dump.txt shows a fresh new # extended private ...
2
votes
1answer
59 views

What does the prefix of the raw transaction encoding of an exported Electrum transaction file (.txn) mean?

I have exported a testnet transaction into a .txn file: { "hex": "45505446ff0002000000000101c6be24d86ab1ae5b54e7e7905b...", "complete": false, "final": false } However, as explained in ...
0
votes
1answer
49 views

Bitcoin Core change derivation path with getnewaddress cmd 0.17

As I'm building a simple HD wallet, I would like to use bitcoin core regtest. My goal is to setup a testing flow where I could have constant seeded address each time I use bitcoin-testnet-box, so that ...
0
votes
1answer
65 views

funds in hd wallet

I have a doubt on HD wallets, I have generated a sequence of address. how to check the balance of each address or how we can look for balance. Did the amount move to the base address as like monero ...
0
votes
1answer
71 views

Why do LedgerJS and Electrum, using the same Nano S and derivation path, not refer to the same Wallet?

I start Electrum in my cmdline like this: ./Electrum --testnet I connect Ledger Nano S to my laptop. In Electrum I make a new HD Wallet with Derivation path using the Nano S's private key as seed: "...
0
votes
1answer
127 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
2answers
112 views

Private Key in HD Account Bither Watch Only

I have a watch only HD account in Bither and I've got a password of the wallet but I don't have a private Key. I need to send BTC received in that account to another address in another account
0
votes
0answers
132 views

How to create Bitcoin HD waller in node.js?

I know that there were similar questions to mine before but most of them was verry old and I couldn't find any helpful answer. So I want to make deposit system on my website where every user will have ...
0
votes
1answer
93 views

Should Electrum users give out their master public key?

I have seen a recent service advertising that users can turn their Electrum Wallets in to a "Cold Wallet" by providing the 3rd party service the Master Public Key from the Electrum wallet. Ignoring ...
0
votes
1answer
24 views

Is it possible to run HD derivation with an encrypted master node or seed?

Given either a seed or the private part of a master node, that is encrypted using AES-256-CBC (or another secured symmetrical cypher) with key K, is it possible to run derivation such as described in ...
0
votes
0answers
113 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
2answers
694 views

Get Master Private Key from BIP39 Seed

I have BIP39 Seed: 5b56c417303faa3fcba7e57400e120a0ca83ec5a4fc9ffba757fbe63fbd77a89a1a3be4c67196f57c39a88b76373733891bfaba16ed27a813ceed498804c0570 I want to get Master private Key Then I Have to ...
2
votes
1answer
74 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
104 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
38 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
2answers
178 views

Bitcoin HD Wallets with hardened derivation and watch-only addresses

I'm learning about the details of how HD wallets work. After reading the BIP32 and BIP44 documents thoroughly and supplementing it with Mastering Bitcoin there's still on aspect that I can't figure ...