Questions tagged [xpub]

The tag has no usage guidance.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
26 views

What is the difference between singlesig and multisig xpubs?

When exporting the xpub from my SeedSigner, I'm asked whether to export the "singlesig xpub" or "multisig xpub." I understand the use cases for each but from a technical standpoint,...
Oliver Offing's user avatar
2 votes
0 answers
182 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.
user49396's user avatar
  • 181
2 votes
2 answers
559 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?
warcode360's user avatar
1 vote
0 answers
45 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 ...
steff123's user avatar
  • 153
1 vote
0 answers
106 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 ...
pbotas's user avatar
  • 111
1 vote
2 answers
739 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 ...
shoke's user avatar
  • 111
1 vote
0 answers
183 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-...
DesertTraveller's user avatar
1 vote
0 answers
90 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 ...
Tony Sanak's user avatar
  • 1,646
1 vote
1 answer
714 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 ...
Astie's user avatar
  • 11
0 votes
0 answers
25 views

bitcoin core generate xpub (not hardened) from pubkey

I am a vendor in a marketplace that accepts bitcoin. In bitcoin core that I run, I retrieved pubkey of my wallet by running getaddressinfo. Now, I need to generate an xpub key and pass it on to the ...
Meglio's user avatar
  • 287
0 votes
1 answer
167 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 ...
user136352's user avatar
0 votes
1 answer
129 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. ...
Fahm Hasan's user avatar
0 votes
1 answer
477 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 ...
bbnn's user avatar
  • 227
0 votes
0 answers
206 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 ...
user8481790's user avatar
0 votes
1 answer
897 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- ...
Parth Gargava's user avatar
0 votes
0 answers
1k views

How do I get my master public key from a wallet?

If a HD wallet only gives me the 12 word mnemonic, how can one get the master public key?
Kyle Graham's user avatar
-2 votes
2 answers
306 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, ...
Prem Govind's user avatar