Questions tagged [xpub]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
60 views

Access BTC balance using xpub key

I am using the exodus wallet and I exported the xpub key because I used it for a shop to receive payments using btc. Someone bought my product and sent btc to a address generated with my xpub key but ...
  • 1
1 vote
1 answer
45 views

Why doesn't Casa use hardened derivation?

I've noticed that Casa uses non-hardened derivation paths for both their key and my HW keys. The path is the following m/49/0/1. Does anyone have an idea of why it's the case? I mean, the risk of ...
1 vote
1 answer
41 views

If Multisig Xpub is compromised, but not the seeds or wallets

I have a multisig set up. My seeds and hardware wallets are secure. However, what would happen if someone got a hold of my Xpub file only? Am I correct they could view my holdings and transactions, ...
1 vote
0 answers
24 views

CLI Tool or API for btc address generation given a xpub

I'd like to script a short tool on the commandline. Therefore I need all used addresses of my wallets derived from a given xpubs. Don't like to implement it by myself. Is there an already implemented ...
  • 133
0 votes
1 answer
115 views

Is there a way to get all addresses from an xpub key?

Hi I am trying to implement a feature where a user can enter their xpub key and get a list of their transactions and their balance. To do this I think I need to get all the wallet addresses from the ...
1 vote
1 answer
262 views

Generate Public Keys from Extended Public Key in python

I want to get a normal Public Key from an extended Public Key in Python. Actually I want to get the same result as here in the Extended Public Key Children section. I know I need this structure: ...
  • 13
1 vote
0 answers
82 views

nunchuk.io - "To create new wallets, additional XPUBs from the key are needed."

I'm trying to start using Nunchuk (nunchuk.io), so I created 3 software keys on 3 different devices for my account, and then was able to create a wallet using those 3 keys as signers. But when I try ...
  • 111
1 vote
2 answers
509 views

How to find xPub from wallet address

I'm trying to find a master public key (I believe this is the xPub) of an electrum wallet I no longer have access to. This is ok, I've moved all BTC from there. The thing is, I need the public key to ...
  • 111
1 vote
1 answer
177 views

Generate Random Bitcoin Addresses from my own Extended Public Key with Coinb.in Wallet

I'm customizing https://coinb.in/ wallet. var compressed = coinjs.compressed; coinjs.compressed = true; var coin = coinjs.newKeys(); // keys are changing... var sw = coinjs....
1 vote
0 answers
110 views

Solution for P2SH non-standard derivation paths

Creating P2SH (Nested Segwit) addresses from an imported BECH32 (Native Segwit) XPUB, when running Bitcoin Core (pre-2020 software) wallet (as watch-only, with private keys disabled) can lead to non-...
0 votes
1 answer
101 views

I convert My Xpub To Youb address And Now can't Recover Fund

I convert my Blochchain.com Wallet Legacy xpub to Ypub Using This website: [https://www.blockonomics.co/views/segwit_xpub_convert.html] But Now I can't recover My Fund It still Stack In Given address. ...
2 votes
1 answer
161 views

How to monitor specific derived addresses from xpub

I've exported my xpub from bluewallet and generated a few derived addresses from it using invoice numbers as derivation indexes. Then I sent a few sats to one of those address as a test. As I'm new ...
0 votes
1 answer
91 views

Would you need to access your cold wallet to generate a taproot xpub?

If you would like to generate a taproot wallet with your deep cold wallet seed, would you need to access the wallet to generate it? Say if the seed/master pubkey is already used for native or nested ...
1 vote
1 answer
246 views

Regex for validating xpubs

I am wondering if someone can help me with regex for validating all types xpubs like: xpub (mainnet P2PKH or P2SH) ypub (mainnet P2WPKH in P2SH) Ypub (mainnet P2WSH in P2SH) zpub (mainnet P2WPKH) ...
  • 27
4 votes
1 answer
405 views

XPRIV/XPUB type for P2TR

As far as I understand, there is a standard that describes what address types an extended private key or extended public key is intended to derive and it works as such: xpriv/xpub => Legacy ...
4 votes
2 answers
1k views

Derive Segwit Addresses From xPub or zPub using PYTHON

Summary I'm pulling my hair out trying to understand a couple of concepts. I would like to use a Segwit wallet in my Ledger Nano S to derive unhardened(?) child public keys (and thus segwit addresses) ...
  • 55
1 vote
1 answer
250 views

Does Ledger Nano S Have an xPub or a zPub for Bitcoin wallets?

{ "xpub": "tpub-big-long-key-that-starts-with-tpub", "index": 1, "freshAddressPath": "84'/1'/1'/0/0", "id": "libcore:1:...
  • 55
1 vote
2 answers
181 views

Is multisig wallet simply a combination of many singlesig wallets?

I’m trying to create a multisig wallet for the first time. My pre-understanding is that multisig wallet is simply a combination of many singlesig address. So for example I have 3 existing singlesig ...
  • 227
1 vote
0 answers
83 views

Java bip32 library

I'm looking for java library that will cover bip32 address derivation (xpub to P2PKH, P2SH, P2WSH, P2WPKH, P2SH-P2WPKH). There seem to be a lot of libraries covering P2PKH, but not much else (like ...
  • 1,636
1 vote
1 answer
273 views

Could be possible to get the Xpub from a Bitcoin Core wallet using RPC commands?

I know in the Bitcoin Core wallet there is no easy way to extract the xpub from a wallet, but maybe with the latest changes that have been made to the core (such as the exit descriptors), there are ...
0 votes
1 answer
258 views

How exactly can hardened keys work?? (HD Wallets!)

After reading Chptr 5, Wallets, from the Bitcoin Book, I have some questions: So I understand that the leak of an xpub+child priv key = compromised wallet. 1)How compromised is the wallet? Just from ...
7 votes
2 answers
283 views

How to accept donation correctly?

Imagine a web page that wants to accept Bitcoin donations. A naive approach is to provide a single address on the page and that's it. The problem here is that the address is known to everyone and if ...
  • 1,034
2 votes
1 answer
63 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&...
  • 1,636
0 votes
1 answer
434 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 ...
  • 227
1 vote
1 answer
113 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 ...
  • 27
1 vote
1 answer
354 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
3 answers
1k 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, ...
1 vote
1 answer
639 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 ...
  • 11
1 vote
2 answers
445 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 ...
  • 121
1 vote
1 answer
728 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 ...
user avatar
0 votes
1 answer
205 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?
  • 1
8 votes
1 answer
589 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 ...
  • 81
4 votes
3 answers
2k 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 ...
1 vote
1 answer
226 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 ...
2 votes
1 answer
123 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?)...
  • 301
1 vote
2 answers
241 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 ...
  • 111
2 votes
1 answer
81 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. ...
  • 147
1 vote
3 answers
803 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 ...
  • 127
2 votes
2 answers
285 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&...
  • 187
2 votes
1 answer
194 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 ...
  • 187
2 votes
2 answers
493 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?
2 votes
1 answer
85 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 ...
  • 23
1 vote
1 answer
384 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 ...
  • 476
1 vote
1 answer
64 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 ...
1 vote
2 answers
1k views

How to see the entire history of my Ledger wallet?

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
1 answer
2k 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 ...
0 votes
1 answer
798 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
0 answers
196 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
2 answers
990 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 ...
  • 221
0 votes
1 answer
232 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 ...