Questions tagged [xpub]

The tag has no usage guidance.

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

Libbitcoin How to generate addresses on demand from xpub?

Well, I am really new to this. Just installed libbitcoin and I am reading trough the wiki and everything. Could someone really quick hint me how to generate addresses whenever I want from xpub that ...
1
vote
1answer
297 views

I need help with an bitcoin open book exam

I am completely new to bitcoin and by extension cryptocurrency, but I am slowly getting my head around certain things. My problem is I am currently doing an open book exam and I am free to use any ...
0
votes
1answer
28 views

Is it ok and safe to import master public key from electrum wallet into bluewallet to be a watch-only wallet?

I want to use my iPhone (Blue wallet) to be the watch-only wallet for my offline wallet generated on electrum. So that I can generate unsigned transaction on the bluewallet and send it back to my ...
7
votes
1answer
255 views

Is it possible to use BitGo's wallet with other software (Electrum or else), what is the used derivation path?

BitGo wallets are based on a 2-of-3 multi-signature, the end user have access to: - Public key (xpub) of the 3rd signer (as the main wallet xpub) - Native Segwit (Bech32), bc1... addresses to receive ...
1
vote
0answers
18 views

P2SH address as a product of public keys

Assuming the multisig 2 of 3, if I do have extended public keys (xpub) for all 3 cosigners (with proper derivations), can I somewhat get the result address (P2SH)? How to calculate the "script&...
0
votes
1answer
179 views

Looking for JS/Node.js code example to sign a transaction (with multiple UTXOs) with only the extended private key

Is there any Javascript code out there or examples on how to sign a transaction by using the extended-private-key? What I am essentially looking for is code that will help derive the private key, ...
0
votes
1answer
193 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
190 views

HD Wallets, XPUB and child private key leaks

So some generalisations on xpubs and current wallet providers. Ledger and Trezor wallets can create xpubs which can show all transactions of a wallet When a passphrase is added, this counts as a new ...
1
vote
1answer
103 views

How to convert xpub ypub and zpub in Ruby

I'm looking to convert a Bitcoin extended public key from one format to another in Ruby. In JS I've found https://github.com/jlopp/xpub-converter/blob/master/js/xpubConvert.js and Python https://...
0
votes
2answers
106 views

import multisig wallet into bitcoin core, Vpub keys are not valid. how to?

I'm trying to import an HD multisig wallet created with Electrum into Bitcoin core v0.21.0.0. I managed to do so with the fantastic cryptoadvance.specter server, but I also would like to import it ...
0
votes
1answer
62 views

Is there a simple python script for xpub generation from private key

I need a python script to verify, in an air gapped system, that my 24-word (or 12-word) mnemonic seed indeed generates the xpub that my wallet is showing me. Is there a simple script that does that, ...
0
votes
1answer
353 views

How To get Address Public Key from Account XPUB?

I am little bit confused or not able to get the right Address Node Public key from Account XPUB. What I have done : Get the Account XPUB [78Bytes] SHA-256 SHA-256 Again Created Extended XPUB (XPUB ...
0
votes
1answer
523 views

How can I generate public address from an xpub key in Java?

I have an xpub key with which I want to generate all addresses which have been used or will be used and then find out the keys which have balance. Here's a sample xpubkey with balance- ...
1
vote
1answer
113 views

How to generate btc addresses from XPUB?

I have an xpub key and I'd like to generate the sequence of btc addresses in PHP based on the index. Is there a way to do that?
0
votes
1answer
48 views

What's going to happen if someone has access to my Bip32 root key?

Can my bitcoin get stolen if someone else has access to my Bip32 root key?
0
votes
2answers
1k views

generate wallet addresses from extended public key

i am trying to generate addresses from Extended Public Key using bitcoinj but can't figure out, how can i possibly do this. i need those addresses for watch-only wallet, those addresses were ...
2
votes
2answers
543 views

XPUB, YPUB, ZPUB Converter Tools

I was wondering if there are any good X,Y,Zpub converter tools that any of you are aware of. For instance, a tool that could convert an Xpub into the equivalent Zpub. I was inspired to ask this ...
0
votes
1answer
54 views

How to generate transaction history from all addresses that are part of common xpub/ypub without having the xpub/ypub?

I have 20 addresses generated which are part of a common xpub/ypub. I want to create a combined transaction history of all addresses similar to that of how trezor has the export CSV function. I ...
0
votes
2answers
419 views

Is there an equivalent to the Xpub/Zpub for multisig wallets?

When I have a typical wallet, I can give my Xpub to someone to generate addresses whenever they need. ("they" here could be an instance of BTCPAY server or some other application that I don't want to ...
2
votes
1answer
85 views

is my xPub published when I make a payment? (wallet privacy)

I'm generating new addresses for every payment I receive, but what happen when I transfer the bitcoins from my wallet to another address? is my xPub exposed when doing that (maybe to the bitcoin node?)...
1
vote
2answers
91 views

How to use UTXO of xpub derived addresses?

I'm new in Bitcoin, this is something I'm confused with. If we are deriving children, i.e. public keys, from xpub, without private keys, for the purpose of receiving outputs, how are we able to spend ...
2
votes
1answer
54 views

How do we know which co-signer signature is in raw hex in multisig?

I have a raw 2of3 multisig transaction. In this transaction, one co-signer already signed. The signature is for only one input. ...
1
vote
3answers
159 views

Best way to find list of UTXO related to xpub

Apparently the way to find a list of UTXO related to an xpub is to derive all addresses from the master private key and query a node with each and every one of them. It is possible to generate ...
2
votes
2answers
100 views

Public Keys Prefixes and Derivation Paths

When importing an zpub, for example, to a wallet, does the wallet understand it should recreate a set of addresses using the derivation path "m/84'/0'/0'" and the script type "p2wpkh&...
2
votes
1answer
69 views

XPub to YPub Converter (python) - Last digits wrong

The code below is generating an YPub from XPub with the last 6 digits wrong. How can I verify what's happening and fix this error? e.g.: It should be ...
1
vote
1answer
48 views

How to actually handle the xPub gap limit when receiving Bitcoin deposits?

I've read the other questions involving this, including How to solve Blockchain 20 address gap-limit problem? and Blockchain gap limit which don't actually remedy the issue in a practical sense, only ...
1
vote
1answer
119 views

How to calculate the checksum of an extended public key?

Very difficult to find definitive info on this. From what I can find on google and looking at BIP32 it seems like the process to calculate a checksum for an extended key is to decode the base58 ...
1
vote
1answer
32 views

How to know e-Wallet with xpub

How can I know what's e-wallet name provide the wallet? When I know xpub and xprv and mnemonic When I get mnemonic (12 words) and get xpub I can get balance with blockchain API But how can I know ...
0
votes
2answers
757 views

How to see the entire history of my Ledger Nano S?

I followed the instructions from this Reddit post on how to find my xpub address and tapped the wrench icon button and then "Detailed logs" in Ledger Live. The problem is that this xpub value works ...
0
votes
1answer
669 views

How to generate sub addresses belonging to one private key

We're creating a platform to buy/sell Bitcoin. We need to generate a new child address for each customer allowing them to receive Bitcoin. But all incoming Bitcoins should be stored in our main ...
1
vote
2answers
1k views

Converted Segwit address (YPUB) to Legacy (XPUB), but balances differ

I'm trying to convert a Segwit YPUB address I got from a Ledger Wallet to a Legacy XPUB address in order to query the transactions from the wallet. I've yet to find a reliable API that supports YPUB ...
0
votes
0answers
107 views

Trying to programmically generate unused receiving address from a xPub

I'm trying to generate unused receiving Bitcoin address from xPub using PyWallet python library . I got the xPub from my BIP32 Electrum wallet. Here is what I tried from pywallet import wallet ...
1
vote
1answer
323 views

Importing an arbitrarily created Master Private key to Bitcoin Core

I've created a Master Private key (xpriv) on an airgapped machine along with an Master Public key (xpub). Now I'm running Bitcoind on my Ubuntu server and I want to use my newly created keys on a new ...
0
votes
1answer
133 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 ...
0
votes
2answers
873 views

Segwit Addressed from xpub key

How can i get the public key of my segwit address with my extended public key. when i import the xpub into electrum it automatically creates a legacy wallet for me. i'm not with my nano and won't be ...
1
vote
1answer
330 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 ...
2
votes
1answer
763 views

Can I export a xpub/zpub/ypub key in bitcoin core?

I'd like to add a master public key (any of xpub/zpub/ypub https://support.samourai.io/article/49-xpub-s-ypub-s-zpub-s) for tracking purposes to Sentinel watch-only wallet https://samouraiwallet.com/...
0
votes
1answer
717 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 ...
2
votes
1answer
175 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?
1
vote
1answer
568 views

Create multisignature wallet from xpub keys in bitcoin core

I can create Multisignature wallet electrum with 2 xpub keys. How can I create bitcoin core to do that? Standart use; Add a multisig address from 2 addresses bitcoin-cli addmultisigaddress 2 "[\"...
1
vote
1answer
470 views

Xpub for HD wallets

I have a cold storage in my one of the computers.Also in my project server I have run bitcoin-cli. So I want to remove priv key from here and set the public key from cold storage. I read that it will ...
1
vote
1answer
249 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 ...
4
votes
1answer
2k views

Converting xpub key to core format

I am experiencing some major issues which I honestly can't understand. When I am generating a wallet from Electrum the public key looks like this: ...
1
vote
1answer
512 views

Derive next HD segwit address from xpub/ypub

I've been using the smartbit api to derive the next receiving address for a while now. However it only works for Legacy addresses and not Segwit addresses. I now have a Ledger Nano s and need a ...
2
votes
2answers
739 views

What options do I have to avoid API gap limit? I am using xpub keys

I am building a app, and the design is, the "welcome page" has a qr code allowing the user to purchase a single-use of the app. Blockchain.info conveniently allows you to use xpub to generate ...
1
vote
1answer
1k views

Can you retrieve funds send to a legacy address created with a Segwit extended private key imported in Mycelium from a Ledger Nano S?

I imported a segwit xpub6-key in Mycelium as a watch only address. It only shows address starting with 1 instead of 3, which makes sense. I retrieved a small amount on the legacy address and it shows ...
0
votes
1answer
309 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?
5
votes
1answer
3k views

What makes an extended public or private key?

I was under the impression that an extended public key was comprised of the public key + chain code, and I'm unfamiliar with what comprises the extended private key. However this does not seem to be ...
0
votes
1answer
128 views

What is the likelihood that an xPub child address is not owned by the same xPub address holder?

Kind of an odd question, and I'm pretty sure the answer is, "extremely unlikely," but wanted to see what the community thought. Secondary question: How sure can one be that the addresses ...
0
votes
1answer
481 views

How to import an extended public key into bitcoin core 0.16

I exported an xpub key from a HW wallet and want to import it into my own node to keep track of changes to the balance. My node is running satoshi 0.16.1 Can someone help me find the right syntax for ...