Bitcoin Forum
May 13, 2026, 06:29:44 PM *
News: Latest Bitcoin Core release: 31.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Public keys for all addresses  (Read 284 times)
pbies (OP)
Sr. Member
****
Offline

Activity: 423
Merit: 264



View Profile
May 08, 2026, 07:15:39 AM
 #1

With LoyceV we are going to put publicly all public keys for all 1... addresses.
I made the process and code, LoyceV will put it on his server.

Let us know if you are generally interested in public keys for all addresses.

Data will come from "blocks" and "chainstate" folders from Bitcoin Core.

BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k
Upgrade00
Legendary
*
Offline

Activity: 2758
Merit: 2876


Community Manager - Brand Promotions ✅


View Profile WWW
May 08, 2026, 07:44:39 AM
 #2

What purpose would a log of all available public keys serve? I'm trying to think of possible reasons anyone would want that but I can't come up with any. Can you share what prompted the project?

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
rat03gopoh
Legendary
*
Offline

Activity: 2660
Merit: 1011


NO KYC Exchanger☝️


View Profile WWW
May 08, 2026, 09:16:33 AM
 #3

^^
What immediately came to mind was blockchain analysis/identity clustering, like those performed by chain analysis services. Or perhaps it could be a reference for certain statistical data (who knows).

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

Activity: 423
Merit: 264



View Profile
May 08, 2026, 10:09:09 AM
 #4

This is the same as puzzle ( https://privatekeys.pw/puzzles/bitcoin-puzzle-tx ) - maybe someone would be happy to download fresh list of public keys for addresses.

Also there can be other usage which I don't know yet. However ppl are asking for public keys recently on the Internet.

We are in contact with LoyceV currently, I am preparing the file for him.

BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k
LoyceV
Legendary
*
Offline

Activity: 4032
Merit: 21796


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
May 08, 2026, 12:53:25 PM
Merited by vapourminer (4), ABCbits (1), Karl_3000 (1)
 #5

I'm trying to think of possible reasons anyone would want that but I can't come up with any.
Maybe someone is preparing for the first available quantum computer to crack them all Wink

What are we going to gain from you doing all this? I can't find any reasons maybe you can share.
Then why are you posting on the Dev board?

Are you sure you told LoyceV about this?
Yes. What's with the shitposting in this thread?
OP asked me to host the 40 GB file.

Though public keys are not private but don't you think putting them all in one easily downloadable database will make tracking and clustering much easier for analysis companies?
Oh noes, someone shares data from the blockchain! Those blockchain analysis companies would never have thought of that on their own!
/sarcasm "I am trying to create an Easter Egg, please do not spoil it and do not mention this""I am trying to create an Easter Egg, please do not spoil it and do not mention this""I am trying to create an Easter Egg, please do not spoil it and do not mention this""I am trying to create an Easter Egg, please do not spoil it and do not mention this""I am trying to create an Easter Egg, please do not spoil it and do not mention this"



As for questioning why: it's data, and I like data:
Whoever wants it, can have it. If anything, you can use it to prove to yourself how secure Bitcoin is. Did you know that every time your wallet creates a new Bitcoin address, it's basically brute-forcing all existing addresses, even if it's just one address at a time? Everyone who ever installed a wallet has attempted to brute-force a funded Bitcoin address and failed.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
shadow_warden
Newbie
*
Offline

Activity: 2
Merit: 0


View Profile
May 08, 2026, 01:51:12 PM
 #6

I'm trying to think of possible reasons anyone would want that but I can't come up with any.
Maybe someone is preparing for the first available quantum computer to crack them all Wink

Then you'd better think about maintaining a database of addresses with non-zero balances and keeping it up to date.

Because the quantum threat is about cracking transaction signatures using Shor's algorithm. It is also related to addresses whose public keys have already been revealed through spending transactions in the blockchain.
MarryWithBTC
Full Member
***
Offline

Activity: 171
Merit: 146

Can you pay a bride price with bitcoin?


View Profile
May 08, 2026, 03:24:21 PM
 #7

What purpose would a log of all available public keys serve? I'm trying to think of possible reasons anyone would want that but I can't come up with any. Can you share what prompted the project?
The quantum revolution is out, Op and LoyceV are going to lead that race here in the forum. We could all be mega rich here if things go well.

I have seen the data of all addresses having bitcoin and its importance, but I can't figure out the importance of this, except for sophisticated analysis.
LoyceV
Legendary
*
Offline

Activity: 4032
Merit: 21796


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
May 08, 2026, 09:32:59 PM
Last edit: Today at 11:21:06 AM by LoyceV
 #8

OP uploaded the data, it's available on http://tmp.loyce.club/pbies.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
Mia Chloe
Legendary
*
Offline

Activity: 1064
Merit: 2190


Contact me for your designs...


View Profile
May 12, 2026, 02:48:56 PM
Merited by vapourminer (1)
 #9

~snip
Just based on curiosity, op asked for all public keys with addresses that begin with 1 , how exactly are you able to pull up this data? Is it from the node you run or something totally different? I'm asking because what actually came to mind is public keys of addresses that have actually made a transaction.

Well I may be wrong though but what I'm thinking is you can only pull up Data from addresses that have made at least a single transaction because of the data they share with node... Where could I be wrong though?

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
LoyceV
Legendary
*
Offline

Activity: 4032
Merit: 21796


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
May 12, 2026, 03:18:36 PM
Last edit: Today at 11:20:38 AM by LoyceV
 #10

op asked for all public keys with addresses that begin with 1 , how exactly are you able to pull up this data?
OP only asked me to host it, and included the "how" part in the link.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
pbies (OP)
Sr. Member
****
Offline

Activity: 423
Merit: 264



View Profile
May 12, 2026, 06:14:27 PM
Merited by vapourminer (4), ABCbits (2)
 #11

~snip
Just based on curiosity, op asked for all public keys with addresses that begin with 1 , how exactly are you able to pull up this data? Is it from the node you run or something totally different? I'm asking because what actually came to mind is public keys of addresses that have actually made a transaction.

Well I may be wrong though but what I'm thinking is you can only pull up Data from addresses that have made at least a single transaction because of the data they share with node... Where could I be wrong though?

I am doing that like there will be files info.txt and readme.txt, I am pasting them here:

We need "blocks" and "chainstate" folders from Bitcoin Core, fresh, so sync it before doing next things.
Core need txindex=1 in bitcoin.conf file to download chainstate. You may need to start Core with -reindex or something similar.

then (in WSL2 on Windows 10, Ubuntu 24.04 or 26.04):

rsync -avtu --delete /mnt/d/Bitcoin/chainstate/ /home/user/.bitcoin/chainstate/

Change first folder to source, second to target from which you will take data later.

Pubkeys unpacked = 58.24 GiB, packed pigz = 38.12 GiB.

It may spoil the blockchain, Core will need to reindex. Use on copy.

Last: build the below C++ program and run it:

1.
g++ -O2 -std=c++17 btc_addr_pubkey.cpp -lssl -lcrypto -lleveldb -o btc_addr_pubkey
2.
./btc_addr_pubkey --both ~/.bitcoin tmp.tsv
3.
LC_ALL=C sort -S80% -u --parallel=30 < tmp.tsv > pubkeys.txt
4.
pigz -9 pubkeys.txt

###

first file is 139 GiB
sorted file is 58.3 GiB
dump takes 40 minutes
sort takes 31 minutes
pigz takes 9m44s
38.13 GiB has output file compressed
Core's blockchain is spoiled, make backup!

###

This dump's timestamp is for 2026-05-08 09:15:41 CEST.

###

I can share btc_addr_pubkey.cpp file later.

It was Claude AI's work. C++ code should be on LoyceV's site later.

BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k
Niekko
Member
**
Offline

Activity: 107
Merit: 25


View Profile
May 12, 2026, 07:01:21 PM
 #12

OP uploaded the data, it'll be available on http://tmp.loyce.club/pbies once my move to a new server is complete. I hope within a couple of days.


Have you include PubKey from P2PK addresses too ?


amaclin1
Hero Member
*****
Offline

Activity: 1442
Merit: 506


View Profile
May 12, 2026, 08:12:23 PM
 #13

Have you include PubKey from P2PK addresses too ?
Please, do not forget about P2WPKH too!
Mia Chloe
Legendary
*
Offline

Activity: 1064
Merit: 2190


Contact me for your designs...


View Profile
May 12, 2026, 08:25:33 PM
Merited by vapourminer (4)
 #14

~snip
So technically speaking I'm actually on track. Literally the public keys you are gonna be pulling out are only those of wallets that have at least made one transaction so it's like we are kinda treating Wallets with zero transactions as those that haven't been hashed yet or created per say.

This is kinda public information though as it's basically something every full node can pull out. Before now I haven't really thought about this because I hadn't really seen real use cases though. Nevertheless I do understand the whole stuff regardless now.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
Niekko
Member
**
Offline

Activity: 107
Merit: 25


View Profile
May 12, 2026, 09:55:35 PM
Last edit: May 12, 2026, 10:30:40 PM by Niekko
 #15

Have you include PubKey from P2PK addresses too ?
Please, do not forget about P2WPKH too!


P2PK is a legacy address with pubkey exposed in the script, P2WPKH are not included like Pbies have already write about it


Example: https://www.blockchain.com/explorer/addresses/btc/1JWXHwtBuVGDDjrVDQNFaBHhw7AhuuPeV9
PubKey: 026843174b9bc9eb6d69016b1b9ec74c38af7f3bf1a153ab7f5d3ea8cd9835ce54
Sammysmart001
Member
**
Offline

Activity: 93
Merit: 19


View Profile
Today at 06:58:47 AM
 #16

With LoyceV we are going to put publicly all public keys for all 1... addresses.
I made the process and code, LoyceV will put it on his server.

Let us know if you are generally interested in public keys for all addresses.

Data will come from "blocks" and "chainstate" folders from Bitcoin Core.
Nice motive. But the tin be say getting public keys generally for one addresses he go help out for research and also privacy analysis and it also shows the risk of address reuse.
My question be say:  una go  include only used addresses wea get balance or one addresses that exist on blockchain history ? This because the second will be a huge dataset.


Learning Bitcoin | A P2P trader | Bybit & Opay
pbies (OP)
Sr. Member
****
Offline

Activity: 423
Merit: 264



View Profile
Today at 10:05:40 AM
 #17

The data is taken twice, once from "chainstate", second from "blocks". So seems like these are all pubkeys ever but I didn't verified that yet.

It is already huge when compressed it has over 30 GiB.



With LoyceV we are going to put publicly all public keys for all 1... addresses.
I made the process and code, LoyceV will put it on his server.

Let us know if you are generally interested in public keys for all addresses.

Data will come from "blocks" and "chainstate" folders from Bitcoin Core.
Nice motive. But the tin be say getting public keys generally for one addresses he go help out for research and also privacy analysis and it also shows the risk of address reuse.
My question be say:  una go  include only used addresses wea get balance or one addresses that exist on blockchain history ? This because the second will be a huge dataset.

BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k
LoyceV
Legendary
*
Offline

Activity: 4032
Merit: 21796


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
Today at 11:21:37 AM
 #18

OP uploaded the data, it's available on http://tmp.loyce.club/pbies.
The data is live!

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
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!