Bitcoin Forum
September 27, 2025, 05:57:47 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: The questions of Public key,help me ! on: December 28, 2021, 08:45:55 AM
I knew,TX,
But this one,please have a check .

0465c1d2cadf9178ed4bf739205dad4ab20b52a0c4ff64e5bcb6acc9f4a3d1964805d11ad5ebb4f 3fc7f4c2b4ea9fd13b000350750d682497e03833e1112b8e9ed
The principle is the same. There is no way to know the public key if all we have is the hash from the corresponding address. Either the public key has to be revealed in the output script or the owner of the address has to spend from it and reveal the public key.

In this case the owner has spent the shitcoins they received as an airdrop on a poor copy of bitcoin and its blockchain called bcash. But they never spent their bitcoins so we know the corresponding public key from that shitcoin's blockchain: https://blockchair.com/bitcoin-cash/transaction/6e8b59f6e9f3c472df0b40ec8742f61d3e8af3678b3568a14a047317be320ffa

Understood  Thank you !!
2  Bitcoin / Bitcoin Technical Support / Re: The questions of Public key,help me ! on: December 28, 2021, 07:21:18 AM
Since this address has not sent transactions, how can we know its public key?

Please check this :1JqPFnGPhHhy54zJKmC1MPiczzgFjCmzE9
public key    : 04f51f8d0c4dc4a5338bef745098e6f6364f8936fee6aa5a9d4ab0c214e7cdd727f094f442779b3 7d9046e53ea3f0b988aefaa6e0adb0662155cd763229e8519aa

check site:https://bitcointools.site/tool/pubkey-to-address
This is partly because of a bug in block explorers where they show P2PK outputs (that already contain the public key) as a P2PKH address. If you check the first received transaction in this "address" here you can clearly see that the payment was to the public key (ie. a P2PK output) so we already know the public key.

There is also some payments to the actual P2PKH address that uses the has of the public key (1JqPFnGPhHhy54zJKmC1MPiczzgFjCmzE9) but the block explorer shows all txs under the same address.
So if you search the public key of the said address, what the tools do is that they simply look up that P2PK output and return its public key which makes it look like they guessed it from the hash!

I knew,TX,
But this one,please have a check .

0465c1d2cadf9178ed4bf739205dad4ab20b52a0c4ff64e5bcb6acc9f4a3d1964805d11ad5ebb4f 3fc7f4c2b4ea9fd13b000350750d682497e03833e1112b8e9ed
3  Bitcoin / Bitcoin Technical Support / Re: The questions of Public key,help me ! on: December 28, 2021, 06:52:22 AM
1. If an address has not sent any transaction, will the public key not be disclosed?
It depends on the address or output type. There is only one address type that uses public key directly and that is the new P2TR address that uses the tweaked public key. Other addresses are using hash of the public key and since hash is irreversible we can not know the public key.
However, there are outputs scripts that can use the public key directly (they don't have any address defined). Like P2PK or P2MS outputs or anything similar that uses public keys.

Quote
2. Does the real public key of this address only exist in the wallet.dat?
It depends on the client that create the wallet file and the type of the wallet.
For example a watch only wallet that only received the address to watch will not have the public key but a wallet that was created from a private key or deterministic wallet created from a seed will have both private and the public key in addition to the script type of the addresses created by that wallet.

Quote
3. If i have the real public key from this wallet.dat, can it prove that the wallet is true rather than a tampered fake wallet file?

Because no transaction has been sent, there is no public key on the public chain.
If you have created the wallet file yourself then you already know that it is the real thing but if you have bought it or found it somewhere then you should be sure that it is a fake thing possibly containing malware.


Since this address has not sent transactions, how can we know its public key?

Please check this :1JqPFnGPhHhy54zJKmC1MPiczzgFjCmzE9

public key:
04f51f8d0c4dc4a5338bef745098e6f6364f8936fee6aa5a9d4ab0c214e7cdd727f094f442779b3 7d9046e53ea3f0b988aefaa6e0adb0662155cd763229e8519aa

check site:https://bitcointools.site/tool/pubkey-to-address
4  Bitcoin / Bitcoin Technical Support / The questions of Public key,help me ! on: December 28, 2021, 06:30:58 AM
1. If an address has not sent any transaction, will the public key not be disclosed?



2. Does the real public key of this address only exist in the wallet.dat?



3. If i have the real public key from this wallet.dat, can it prove that the wallet is true rather than a tampered fake wallet file?

Because no transaction has been sent, there is no public key on the public chain.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!