Hey guys, I’m looking for a way to download all bitcoin public keys that have made transactions. Can anyone help me out?
How to get all Bitcoin public keys from transactions?
5 replies 393 views
just_nonceNewbie
Posts: 122 · Reputation: 15
#2Feb 16, 2024, 03:55 PM
Are you talking about bitcoin addresses? If that’s what you mean, check this link I found. Just a heads up, it only shows addresses with balances, not all of them.
For public keys, you should check out this post. I haven’t updated it for a while because my server crashed, and I’m currently replacing it. So, I can’t really work on it right now.
If you tweak it for Bitcoin Core, it should run faster. Here’s some sample code I used. It processed blocks and saved unique public keys.
I don’t know of any site that shares public keys from transactions. But check out the Bitcoin Public Key Database thread; it might help you figure it out.
Thanks! I found a better script that pulls different addresses where the public key is visible. Here’s the output for the last two blocks I processed.