Bitcoin Forum
March 03, 2026, 12:43:27 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help convert a BTC address to PubKey  (Read 147 times)
walletrecovery (OP)
Copper Member
Member
**
Offline Offline

Activity: 502
Merit: 38


View Profile
January 26, 2026, 05:39:35 PM
Merited by OmegaStarScream (4), Mia Chloe (1)
 #1

For example, as we can see
 "addr": "1N6Xc6abEK51M5zM2wMDAJ7NNT7WEoqAnm",
"compressed": true,
"encrypted_privkey": "940a219b366b11218e725047595408ac1fe6e0419944fb45989e98600b2365512c20f95398d1aaf 65c50e5738599a42a",
"label": "CaBTC",
"pubkey": "03d2c1702d0eb5580784a050b9df6387759c3b1c48a7c50eedf44e5b86327f5710",
"reserve": 0

This is a part of DUMP wallet.dat file, and as we know there are no outgoing transactions from this wallet, but pubkey is it possible to calculate it somehow?
Is there any converter that can show me the public key, for example from this address: 1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU

OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 4130
Merit: 7116


♻️ Automatic Exchange


View Profile
January 26, 2026, 05:57:57 PM
Last edit: January 26, 2026, 06:09:50 PM by OmegaStarScream
Merited by pooya87 (4), ABCbits (2)
 #2

For example, as we can see
 "addr": "1N6Xc6abEK51M5zM2wMDAJ7NNT7WEoqAnm",
"compressed": true,
"encrypted_privkey": "940a219b366b11218e725047595408ac1fe6e0419944fb45989e98600b2365512c20f95398d1aaf 65c50e5738599a42a",
"label": "CaBTC",
"pubkey": "03d2c1702d0eb5580784a050b9df6387759c3b1c48a7c50eedf44e5b86327f5710",
"reserve": 0

This is a part of DUMP wallet.dat file, and as we know there are no outgoing transactions from this wallet, but pubkey is it possible to calculate it somehow?

That's not the same thing because you own the private keys to the address you dumped, as opposed to the second address you posted.

Since you last posted the question about the puzzle, I did check with multiple AIs, and apparently it's like I have told you before, no way of getting the public key, as long as there are no outgoing transactions.

You may want to move this to "Bitcoin technical support" board for better technical answers.

░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
walletrecovery (OP)
Copper Member
Member
**
Offline Offline

Activity: 502
Merit: 38


View Profile
January 26, 2026, 06:02:57 PM
 #3

That's not the same thing because you own the private keys to the address you owned, as opposed to the second address you posted.

Since you last posted the question about the puzzle, I did check with multiple AIs, and apparently it's like I have told you before, no way of getting the public key, as long as there are no outgoing transactions.

You may want to move this to "Bitcoin technical support" board for better technical answers.
[/quote]

Now I understand 100% that the BitcoinCoreWallet program is doing this work, and that's why this situation exists. So, if the public key were known, the private key for such a vulnerable address would be quickly discovered, which is why the puzzle's owner doesn't make the public keys publicly available, right?

BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1946
Merit: 9415


Bitcoin is ontological repair


View Profile
January 26, 2026, 06:04:15 PM
Merited by pooya87 (5), vapourminer (1)
 #4

An address is just a representation of a hash of a public key. Since hash functions are one-way, you can't go from an address to a public key.

The only ways you can know this information is:

  • if there are outgoing transactions from the address; spending from an address requires revealing the public key, so that nodes can verify the signature.
  • if the address owner has signed a message using the address, or just revealed the public key on purpose.

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
walletrecovery (OP)
Copper Member
Member
**
Offline Offline

Activity: 502
Merit: 38


View Profile
March 02, 2026, 06:52:49 PM
 #5

An address is just a representation of a hash of a public key. Since hash functions are one-way, you can't go from an address to a public key.

The only ways you can know this information is:

  • if there are outgoing transactions from the address; spending from an address requires revealing the public key, so that nodes can verify the signature.
  • if the address owner has signed a message using the address, or just revealed the public key on purpose.

Thank you! I understand! Now I'll keep that in mind!
If you need this wallet, you can download it from here:
https://dropmefiles.com/qwEwa
I wrote about this in more detail in this thread
https://bitcointalk.org/index.php?topic=5576190.0

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!