Bitcoin Forum
July 31, 2024, 05:18:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to check thousands of Bitcoin addresses  (Read 256 times)
Iamapizzabuyer (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 5


View Profile
July 24, 2024, 03:05:15 PM
Merited by LoyceV (2), Pmalek (2), vapourminer (1)
 #1

I need to check thousands of Bitcoin addresses for balance. The reason I need to do so is because I lost a small part of my written down private key.  I paid an trustable local expert for recovery and made a contract about that for safety. Now I have a list of every possible mutation of my private key and the associated bitcoin address. Somewhere in this list is my lost private key but it‘s quite a lot to check. I‘ve been doing that for days now. I could go back to my local expert but that would be another lot of money that I would have to pay.

I am just a normal bitcoin user with little technical experience. I am not a programmer or something similiar. I know there a many possibiltys with technical experience. Is there a way I can automatically check this whole ton of bitcoin addresses?

I have read a lot about that and people say there is a programm called Bitcoin Core that can do that for me? But how? That‘s the old wallet right?
ABCbits
Legendary
*
Offline Offline

Activity: 2954
Merit: 7727


Crypto Swap Exchange


View Profile
July 25, 2024, 09:22:51 AM
Last edit: July 26, 2024, 09:26:49 AM by ABCbits
Merited by vapourminer (1)
 #2

I am just a normal bitcoin user with little technical experience. I am not a programmer or something similiar. I know there a many possibiltys with technical experience. Is there a way I can automatically check this whole ton of bitcoin addresses?

Without some programming, i'm not aware of any option due to limitation from the website or server.

I have read a lot about that and people say there is a programm called Bitcoin Core that can do that for me? But how? That‘s the old wallet right?

Yes, Bitcoin Core can do that. It's not old wallet/software since it's actively updated. As for how, check this post https://bitcointalk.org/index.php?topic=5452199.msg62221925#msg62221925. Although without a bit of programming, doing it thousand time would take long time. And that exclude the fact you need to download 600GB of blockchain.

Edit: See suggestion by @LoyceV instead, which is easier and far faster than using Bitcoin Core.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
DannyHamilton
Legendary
*
Offline Offline

Activity: 3472
Merit: 4763



View Profile
July 25, 2024, 02:42:15 PM
Merited by LoyceV (12), Quickseller (6), vapourminer (4), ABCbits (2), Pmalek (2)
 #3

I'm pretty sure there's a user here that has published a list of all bitcoin addresses that have a balance associated. @LoyceV was that you?

You could just download the list and then search it in your favorite text editor using the search functionality of that text editor (typically accessed with Control-F or Command-F).

However, 99%+ of the time when someone brand new comes in here wanting to search a large list of bitcoin addresses, they are either a scammer that wants to try and sell a false list for which they don't have the private keys OR they've been recently scammed into purchasing such a list and don't want to admit it so they make up a fake story about how they received the list.

It's very rare for stories like this to be true.  It's not impossible, but it's VERY sus.



EDIT:  I was right, it was LoyceV. Here's the list: http://addresses.loyce.club/

For your needs, since they're YOUR bitcoins and you therefore know how many there are, you can just use the "balance not shown, sorted in alphabetical order" list.  If you've got an address on that list, then you know which private key has your bitcoins.
Quickseller
Copper Member
Legendary
*
Offline Offline

Activity: 2954
Merit: 2360


View Profile
July 25, 2024, 07:14:17 PM
 #4

If the OP needs to check thousands of addresses, using control/command F is probably not a viable solution.

The OP could parse both LoyceV's list of funded addresses and his own list of canidate addresses, convert both to sets, and find the intersection of the two sets. Depending on the hashing algorithm, there might be some false positives, but most likely, there will be few enough to make further manually checking not difficult.
LoyceV
Legendary
*
Offline Offline

Activity: 3388
Merit: 17102


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
July 25, 2024, 07:36:23 PM
Merited by ABCbits (4), vapourminer (2), pooya87 (2), ranochigo (2), Pmalek (2), SickDayIn (1)
 #5

I paid an trustable local expert for recovery and made a contract about that for safety.
If two people have access to a private key, it's impossible to prove who moved the coins. A contract gives at best a false sense of security.

Quote
I could go back to my local expert but that would be another lot of money that I would have to pay.
Why didn't this "expert" check the addresses for funds while he's at it? That seems like the least any expert could do for a paid job.

Quote
Is there a way I can automatically check this whole ton of bitcoin addresses?
How many addresses are you talking about? If it's a few thousand only, you can just use Electrum.

If it's millions, this works very fast:
How to use
The most likely use is to check a long list of Bitcoin addresses for a remaining balance.
On Linux, use this to find matching addresses (after extrating the compressed .gz file of course):
Code:
comm -12 Bitcoin_addresses_LATEST.txt <(cat mylist.txt | sort | uniq)
  • Bitcoin_addresses_LATEST.txt: the extracted latest version downloaded from addresses.loyce.club.
  • mylist.txt: your own list of addresses, one address per line.
Click the quote to read more details. But this requires some Linux knowledge. If the private key is on the same line as the addresses, you'll need to adjust the code for that.

I'm pretty sure there's a user here that has published a list of all bitcoin addresses that have a balance associated. @LoyceV was that you?
It's me. FWIW: you can't notify me by editing your post. I only scan unedited posts.

seoincorporation
Legendary
*
Offline Offline

Activity: 3234
Merit: 3026



View Profile
July 28, 2024, 02:08:15 PM
 #6

You could share the list of addresses with the community and let us find the address with the balance, if you only share the address and not the private keys then there should be no risk for you.

What i would do is to download the list of all the addresses with balance, and then compare them with your list, simple as that. I think that is how 95% of the users would proceed because verifying each address one by one would be slow as hell.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
SickDayIn
Member
**
Offline Offline

Activity: 140
Merit: 24


View Profile
July 28, 2024, 02:47:45 PM
 #7

There's a lot of suspicious factors here, but nevertheless this can be solved with a simple python script. You require two inputs:
1. A text file with a list of private keys.
2. A text file with a list of public keys (Bitcoin addresses).

The script would need to do the following steps, these could be used as a basis for you to take to a developer as a starting point:
1. Read the private keys from a file.
2. Read the public keys from another file.
3. Convert each private key to its corresponding public key.
4. Compare the generated public keys with the ones in the public key file.
5. Check if the Bitcoins associated with the matching public key are accessible.

I am pretty sure there is a "bitcoin" library for Python, and you should be able to use the function "privkey_to_pubkey" to convert the list you have and programmatically check for a match. I would share my script here but I'm not a great developer and haven't tested it, but regardless hope this is helpful.
DaveF
Legendary
*
Offline Offline

Activity: 3556
Merit: 6444


Crypto Swap Exchange


View Profile WWW
July 28, 2024, 03:39:58 PM
 #8

Quote
Is there a way I can automatically check this whole ton of bitcoin addresses?
How many addresses are you talking about? If it's a few thousand only, you can just use Electrum.

Even if it's 10s or 100s of thousands it can be done with electrum, you just have to import a couple of thousand addresses and check. If none of them come up as loaded then you delete the wallet and do it again. It's pure grunt, repetitive work but there is zero technical or programming knowledge involved. It's just cutting and pasting from a list.

*I* would not want to do it that way, it's not difficult just time consuming.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
LoyceMobile
Hero Member
*****
Offline Offline

Activity: 1677
Merit: 696


LoyceV on the road. Or couch.


View Profile WWW
July 28, 2024, 05:12:11 PM
Merited by DaveF (2)
 #9

Even if it's 10s or 100s of thousands it can be done with electrum, you just have to import a couple of thousand addresses and check. If none of them come up as loaded then you delete the wallet and do it again.
There's an exception to be aware of: Electrum doesn't show the "send to pub key" balance. You could be overlooking an old 50 Bitcoin block reward.

LoyceV on the road Advertise here for LN Don't deal with this account (exception)
Advertise here for LN Tip my kids Exchange LN (20 coins). 1% fee. No KYC <€50/month
My useful topics: Meritt & Trust & Moreee Art Advertise here for LN Foru[url=https://bitcointalk.org/m
DaveF
Legendary
*
Offline Offline

Activity: 3556
Merit: 6444


Crypto Swap Exchange


View Profile WWW
July 28, 2024, 06:24:03 PM
 #10

Even if it's 10s or 100s of thousands it can be done with electrum, you just have to import a couple of thousand addresses and check. If none of them come up as loaded then you delete the wallet and do it again.
There's an exception to be aware of: Electrum doesn't show the "send to pub key" balance. You could be overlooking an old 50 Bitcoin block reward.

True, but for some reason I don't think that is an issue with the OP.

The other non programing option is to just import the private keys into core and then do a re-scan it's just using a command prompt and doing an importprivkey copy paste over and over as discussed.

Will take longer and you need a synced node but it's not impossible.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
LoyceV
Legendary
*
Offline Offline

Activity: 3388
Merit: 17102


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
July 29, 2024, 06:25:04 AM
 #11

You could share the list of addresses with the community
OP disappeared the day he arrived, but this isn't ideal for privacy. And since I expect OP to have a list of both addresses and private keys, it makes a mistake in copy/pasting risky.

True, but for some reason I don't think that is an issue with the OP.
Most likely. But someone else who reads this in the future may need it. I've seen people on Bitcointalk claim someone's address contained only dust, while there was 50 Bitcoin in it.

seoincorporation
Legendary
*
Offline Offline

Activity: 3234
Merit: 3026



View Profile
July 29, 2024, 01:33:13 PM
 #12

You could share the list of addresses with the community
OP disappeared the day he arrived, but this isn't ideal for privacy. And since I expect OP to have a list of both addresses and private keys, it makes a mistake in copy/pasting risky.

You are right, there is a risk for OP to do the wrong copy-paste and share the private keys, i mean, is common sense that no one should do something like this but common sense is the less common of senses. I hope OP comes back someday and finds the solution in our answers.

I was thinking about a universal tool for this, a tool where we give a text file with addresses and it runs and verify if they have balance, maybe this is a job for Mr apogio.

The logic would be something like:

1.-We create the text fixe with the addresses.
2.-The program downloads the list of addresses with balance from LV site.
3.-The program compares the address.
4.-The programs create a new file with the address with the balance followed by the amount.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
LoyceV
Legendary
*
Offline Offline

Activity: 3388
Merit: 17102


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
July 30, 2024, 06:07:17 AM
 #13

I was thinking about a universal tool for this, a tool where we give a text file with addresses and it runs and verify if they have balance
The problem with "a universal tool" is that you'll need to trust it. It needs to run on your system, which is a malware risk.

Quote
1.-We create the text fixe with the addresses.
2.-The program downloads the list of addresses with balance from LV site.
3.-The program compares the address.
4.-The programs create a new file with the address with the balance followed by the amount.
I can do all this with one line of bash script (see above). All you'll need is a Linux system, which can run from a Live DVD (or USB stick). This way you're not risking anything.

pooya87
Legendary
*
Offline Offline

Activity: 3528
Merit: 10723



View Profile
July 30, 2024, 02:29:13 PM
 #14

Even if it's 10s or 100s of thousands it can be done with electrum
Have you ever tried this? I ask because in the past I've seen many users who complained about how slow Electrum client gets when they have a much smaller number of addresses and transaction history. Like this one with 200 addresses and 1k tx.

Lookin at the code and how the wallet works, it all looks very inefficient (Electrum doesn't need to be efficient for such cases). Wallet file is a big JSON chunk that contains all the key pairs, history, etc. which I always found a bit weird as well (it seems to waste space with duplicate data), is not the best option for 10s of thousands of inputs.

There's an exception to be aware of: Electrum doesn't show the "send to pub key" balance. You could be overlooking an old 50 Bitcoin block reward.
Electrum protocol has that capability though. You just have to send the server the correct request (hash of the correct script which would be <pubkey> OP_CHECKSIG).

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
COBRAS
Member
**
Offline Offline

Activity: 894
Merit: 22


View Profile
July 30, 2024, 11:42:26 PM
 #15

I think more potential try find privkey from all blockchain and check R vaues of sighnature

[
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!