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
0
votes
0answers
11 views

bip39 checksum python

Is there any Python package which will allow me to verify if the checksum of a bip39 mnemonic is valid? For instance, I have a 24-word bip39 mnemonic, and I might have made a mistake for one of the ...
0
votes
0answers
67 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
1answer
16 views

BIP32 funds not appearing in wallet

So I'm developing a system that generates addresses for users to send bitcoins too in order for them to deposit on the system. I generate addresses using the following: var derivedPubKey = config....
1
vote
1answer
29 views

Knowing if a public address is spendable by an HD seed?

I want to know if an address is spendable by an HD seed and for that purpose I am using the following command: > bitcoin-cli getaddressinfo 3LFc64RRd96ejjYvm14KaogBF9fmeNmePW | jq '.solvable' ...
1
vote
1answer
49 views

does bitcoin-core support bip44 HD wallet

If bitcoin-core does not support bip-44, is there any other node ?
0
votes
1answer
49 views

Does bitcoin core 0.18 support bip44,bip39 (HD wallet)

I am new to bitcoin. Struggling to implement HD wallet. goggled for the same but did not get satisfied answer. Can we create multiple seed in single bitcoin core server? If yes, then how we can ...
0
votes
0answers
17 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
42 views

Can I add inputs from different accounts coming from the same Bitcoin HDWallet?

Say I have 1000 users, each one with its own account with paths m/49'/0'/{user.id}', and I am controlling received/sent funds. Could I collect all the funds (i.e. inputs) in a sole fat transaction ...
0
votes
1answer
51 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 ...
1
vote
1answer
38 views

Consequences of sibling keys when xpub and xprv are leaked

Let's say the following keys are leaked: 44'/60'/4'/0 extended private key 44'/60'/4'/0 extended public key (you can just derive this from the above private key) Now using the above information can ...
2
votes
1answer
41 views

What are the consequences from the leak of xpub and child private key?

Let's say the following keys are leaked: Extended public key derived from path 44'/60'/4' Leaked child private key from path 44'/60'/4'/0 Does that imply all the child private keys of the root 44'/...
2
votes
1answer
48 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
110 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
48 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
92 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
138 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
20 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
37 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
41 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
76 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
69 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
196 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
35 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
63 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
65 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
206 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
39 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
42 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
32 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
54 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
105 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
44 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
23 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
649 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
85 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
12 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
127 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
52 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
188 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
175 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
118 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
114 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
226 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
106 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
241 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
83 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
81 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
74 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
98 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: "...