Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xpub]

The tag has no usage guidance.

1
vote
1answer
29 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 ...
0
votes
1answer
42 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
38 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
62 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
20 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
39 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 ...
0
votes
1answer
66 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
31 views

What's the difference between xpub and bpub?

I've seen and extended public key such as the one below xpub661MyMwAqRbcFLCsW67CH9AgprkK2MbeLbmdMiBRWb1Wamm6GjGhTFQChvPmwQGQh78MMd8Eu7CLJ7FEuwhsomD66XC74VnfgHdEx1NFSKL But now I've seen a bpub ...
0
votes
1answer
74 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 ...
0
votes
1answer
42 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
99 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 ...
1
vote
0answers
31 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.
1
vote
1answer
131 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/...
1
vote
1answer
161 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 ...
2
votes
1answer
121 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? ...
2
votes
2answers
1k 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
272 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
259 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 ...
0
votes
0answers
85 views

Create Extended Public key Coinomi

I am unable to find how to create Extended Public key with Coinomi. If somebody knows, please help?
0
votes
2answers
308 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 ...
0
votes
1answer
74 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
0answers
62 views

How to calculate HD wallet balance? [duplicate]

HD wallets can have infinite numbers for addresses derived from them. Recently i discovered that blockchaine.info have an API that return the balance of a specific XPUB I wonder how they do that ? ...
0
votes
0answers
230 views

BlockChain get the list of public address generated by xpub key

This Link transaction is the transaction that is confirmed, and the address is generated by xpub (programmatically). Base on the link it's stated the transaction is confirmed but my account wallet ...
0
votes
0answers
359 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?
1
vote
1answer
672 views

How do I use the XPub to generate the Public addresses

Given the XPub and an address, can I write an algorithm to say whether or not that public key was derived from that XPub and consequently belongs to the same user?
0
votes
1answer
99 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 ...
1
vote
1answer
218 views

I provided my XPUB and YPUB to Trezor support - should I continue to use my Trezor?

I have a Trezor. In attempting to find out why I have have not received Bitcoin Gold coins Trezor Support asked for my XPUB - I gave it to them along with the YPUB too. Is this safe? Should I move ...
3
votes
1answer
141 views

Electrum 2FA Wallet - Deriving the Third XPub

I'm working on a project which requires me to take an Electrum mnemonic, determine its type and derive the corresponding addresses for that wallet. I found lots of information on how to determine the ...
0
votes
0answers
145 views

Is it safe to share XPub with anyone?

I have read that XPub should be shared with only those whom you trust as it will basically give the person with the XPub to see all your transaction taking away your privacy. But apart from privacy, ...