Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
WanderingPhilospher
on 08/03/2025, 02:25:58 UTC
Just to clarify, the hash is computed on the bytes, as shown in the following example, not directly on the hex string or str, because it would be a different hash.


The part I don't understand is this, my friend,

When you convert Public Key to SHA256, can you detect the Wallet address?

The code you sent only gives the address when you write the public key.
After giving the public key, it takes a few seconds to get information about the Wallet. Wink

Do you not understand what is being said / wanted?

McD's script is dead on. You enter the actual public key and it spits out what ktimesG is wanting.

it does not give away any info of the actual address.

Do you not understand that?

And you are wrong, McD's script prints out what ktimesG is wanting plus the address.

print("pubkey (hash):", sha256_pubkey.hex())
print("Legacy:", address)