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
3answers
444 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 ...
4
votes
1answer
2k views

Default derivation paths

I'd like to know all of the default derivation paths used by both software and hardware wallets for bitcoin. According to https://iancoleman.io/bip39/?#english, the following are defaults: m/0'/0' (...
1
vote
1answer
439 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
600 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 ...
1
vote
1answer
195 views

Can't generate same addresses as bitcoincore using xprv from bitcoin-core

First of all all addresses below are for testing purposes so I don't care about private keys. So dumped wallet created by Bitcoin-qt v0.16.2: extended private masterkey: ...
0
votes
1answer
127 views

What is the typical size for an extended public key?

What is the typical bytesize range for an extended public key? An extended private key?
0
votes
1answer
26 views

Are HD wallets, with multiple hierarchies, supported across all crypto-currencies?

Suppose I want to create an arbitrary tree deriving from one master secret, with an arbitrary structure, with some branches being arbitrary different crypto-currencies (e.g. BTC/ETH/XRP/...). Is this ...
0
votes
1answer
24 views

bitcoin transfer without creating wallet

My question is about transferring bitcoin between two addresses without having a wallet. Here is my idea of transferring bitcoins in following way: Idea: I have my own Android Application. I am ...
0
votes
1answer
116 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 ...
1
vote
1answer
193 views

What's the difference between xpub and bpub?

I've seen extended public keys such as the one below xpub661MyMwAqRbcFLCsW67CH9AgprkK2MbeLbmdMiBRWb1Wamm6GjGhTFQChvPmwQGQh78MMd8Eu7CLJ7FEuwhsomD66XC74VnfgHdEx1NFSKL But now I've seen a bpub ...
2
votes
1answer
271 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
535 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
1answer
343 views

How to create wallet in Electrum programmatically?

I want to create new wallet using Electrum-apis. I have gone through the documentation given here but didn't found any method to create a new wallet or an address. Can someone please clarify how I ...
0
votes
1answer
61 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 ...
0
votes
2answers
144 views

Does Electrum use Bitcore Apis as it's backend?

Does Electrum use Bitcore Apis as it's backend or not? If not, then what is the purpose of developing Electrum when Bitcore Apis provides all the features Electrum has (like HD wallets and master ...
1
vote
1answer
2k views

Does Electrum provides any API?

Does Electrum provides any API? If yes, please let me know if there's any dedicated documentation available. Also, does Electrum support Bitcoin Cash? Purpose: I want to integrate Electrum into my ...
2
votes
0answers
122 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.
0
votes
1answer
225 views

How Master seed is generated using Bitcore API?

Can someone please explain how to get Master Seed when a new HD keys is created using Bitcore APIs? My purpose is to implement wallet service in my application using Bitcore APIs. Refer this link ...
1
vote
3answers
1k views

How to link a bitcoin address to a wallet address?

BitGo has a feature where you can have multiple addresses under a wallet. The wallet also has its own address. Now suppose I have two addresses under my wallet. This means for any user to send me BTC, ...
1
vote
1answer
359 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
603 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
141 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
3answers
258 views

Trying to understand parent fingerprint in HD wallets

I'm trying to implement a barebones HD wallet generator in C#. I'm starting with a mnemonic and derivation path m/0' and want to generate BIP141 p2wpkh-in-p2sh addresses. Obviously for the Master ...
1
vote
0answers
34 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
3k 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
167 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
220 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
487 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
693 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
219 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 ?...
0
votes
1answer
314 views

Using seed to send bitcoin from a wallet's specific private key

I'm new to bitcoin and I've recently been reading on the concept of wallet. If I understand correctly, a wallet is a collection of one or more pairs address + private key (an address is where BTC can ...
0
votes
1answer
28 views

Custom bitcoin confirmation process

I am implementing a payment module for bitcoins. I have the following case. I need customers to be able to pay in bitcoins. But for some reasons I cannot use existing solutions like Bitpay. ...
3
votes
1answer
983 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: ...
3
votes
1answer
482 views

Does Ripple has support for HD wallets?

I know Bitcoin supports HD wallets. In simple terms, child keys are generated for the private and public keys. And the child key can be used to restore a wallet. I was wondering whether this kind of ...
0
votes
0answers
34 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 ...
2
votes
2answers
970 views

BIP44 and change addresses

I always wondered why BIP44 HD wallet differentiate between internal change addresses (m/44'/0'/0'/1/*) and external receiving (m/44'/0'/0'/0/*)? Why do some wallets advice me not using internal ...
1
vote
1answer
226 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
145 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
876 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
514 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? ...
0
votes
1answer
192 views

bitcoinTestnet Network returning a mainnet address

I'm using this code to get a new address from an extended public key: $index = 97; $change = false; $key = HierarchicalKeyFactory::fromExtended($tpubaddress, NetworkFactory::...
0
votes
1answer
315 views

SPV Wallets vs API Wallets - Pragmatic

From what I know, the only advantage of an SPV node compared to a API Node, is the increase in privacy. SPV nodes take up more bandwidth, in order to stay synced with the current chain and in some ...
0
votes
1answer
90 views

Does copay accepts multiple payments?

I am a bit confused as to whether copay wallet accepts multiple payments to a single address based on the phrasing "wallet generates new addresses automatically once you use a bitcoin address once"......
4
votes
1answer
1k views

How Do HD Wallets Keep Track of all accounts?

If a HD Wallet generates 1,000 accounts for example. How would they keep track of all of the account's balances, if someone for example, paid into the 455th account, they would want to update the ...
2
votes
2answers
4k views

How to generate a new extended public key (xpub)?

I have a need to generate a new extended public key (xpub). Examples: xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz ...
0
votes
1answer
784 views

What is the difference between the mnemonic and the private key?

My thinking so far: If I have a private number, then I can use that as the private key. If I have a mnemonic, I can match up each word to a number in the wordlist to get the seed, which is the ...
2
votes
1answer
2k views

How do HD wallets use mnemonic to recover all private keys?

As I understand, a wallet like BRD wallet can have many private keys and receiving addresses. When I give them the mnemonic, how do they re-generate all of the relevant private keys from that ...
0
votes
1answer
757 views

Sending payments from an HD wallet

I found these two questions very helpful in understanding HD wallets 1) How do hierarchical deterministic wallets work transaction-wise? 2) a few questions about how HD wallet works However, I'm ...
0
votes
1answer
123 views

Extended keys and signing TX

I have couple of keys of path m/0/0 TPriv- Extended private key (pvt key+chain code) TPub- Extended public key (public key+chain code) Now I generate an address of of the TPub key and revived ...
4
votes
1answer
797 views

a few questions about how HD wallet works

I've read through HD wallet from various resources and have got the basic understanding about it, but am still confused by a few details 1) Each non-hardened public keys (thus addresses) can receive ...

1 2
3
4 5
7