Check keys privately

17 replies 163 views
gw3i1337Full Member
Posts: 148 · Reputation: 495
#1Aug 10, 2024, 01:49 AM
Hey everyone. I've got a list of private keys, around 5000 of them. Going through each one by hand is super time-consuming. Is there any software out there that lets me upload my private key list for balance checks or address matching?
6 Reply Quote Share
maxi2017Senior Member
Posts: 262 · Reputation: 1550
#2Aug 10, 2024, 05:16 AM
I know of a tool that can help you check the balances of multiple Bitcoin addresses. However, it only works with addresses, not private keys. It is called "Bulk address checker" and you can find it here. If you upload your private keys anywhere online, then they are no longer private.  How about importing them in bulk into the Electrum wallet and letting it sync? It probably cant handle 5000 private keys at once, but it is still much faster than checking the keys one by one.
3 Reply Quote Share
coin_sigmaLegendary
Posts: 1275 · Reputation: 5553
#3Aug 10, 2024, 08:15 AM
If you have all of the public keys of these you can use this tool below. - https://bitcoindata.science/bitcoin-balance-check - https://www.homebitcoin.com/easybalance/ But if you don't have public keys then I think you can import this all to the Electrum wallet I don't know if it can handle 5000 keys but if most of the keys do not have transaction history maybe it can. Or import all of them offline in Electrum(It won't use so much system resources compared to online) and then export all public addresses into CSV and paste all public keys into the balance checker above.
2 Reply Quote Share
gw3i1337Full Member
Posts: 148 · Reputation: 495
#4Aug 11, 2024, 03:53 PM
Thank you very much for your help, I will try it
5 Reply Quote Share
mike777Member
Posts: 44 · Reputation: 242
#5Aug 11, 2024, 07:56 PM
In the event that these keys are derived from a master private key, you may just import its master public key in a wallet that's connected with your node and check there (without connecting your private keys to an online computer). If they don't come from a master private key, at that point just import them to electrum (always connected to your server).  It'll probably cannot handle 5000 keys, though.  Separate it into 10 or 20 wallets.
1 Reply Quote Share
gw3i1337Full Member
Posts: 148 · Reputation: 495
#6Aug 11, 2024, 11:06 PM
I can't do this in Electrum. It wants private keys in WIF format but my list is in hex format
6 Reply Quote Share
def1777Full Member
Posts: 194 · Reputation: 685
#7Aug 12, 2024, 02:03 AM
Thanks for mentioning. I am the maintainer of bitcoindata tool. You can check over 460+ address balances with it. You cannot really do that privately, as your requests will go to mempool.space or blockchain.com,  and they may store your requests
0 Reply Quote Share
byte_protoFull Member
Posts: 84 · Reputation: 625
#8Aug 12, 2024, 02:20 AM
I would advise you to go through the entire thread https://bitcointalk.org/index.php?topic=5480599.msg63450240#msg63450240
2 Reply Quote Share
mike777Member
Posts: 44 · Reputation: 242
#9Aug 14, 2024, 08:57 AM
At that point you have got to change over all the private keys in WIF.  I don't know any wallet that allows you to import private key in hex format.  Do not worry though, it is easy.  You just need to write a small program that takes an array of 64 bit numbers (represented in hex) and for each one adds the prefix, compression byte and checksum as described in here:  https://old.learnmeabitcoin.com/technical/wif.  Even ChatGPT could produce it with the first attempt given my reply as an input.
1 Reply Quote Share
Posts: 33 · Reputation: 177
#10Aug 15, 2024, 02:32 AM
https://privatekeys.pw/calc First go to the page above, paste 500 keys or less at a time then hit "priv --> addrc" for compressed, and "priv --> addru" for uncompressed, rinse and repeat. After that you could check other suggested tools to check for balance. Please note that you should be offline while on that page, after you are done you should delete all cookies, site data etc, or better yet use a different browser then uninstall it after you are done.
6 Reply Quote Share
chris.altHero Member
Posts: 458 · Reputation: 2287
#11Aug 15, 2024, 03:02 AM
I'd recommend against using an online tool, even if you use it being offline. If you know Python you can use a library like python-bitcoinlib (also in this case the best option is being offline): Here's the snippet you need: YOUR_KEY is your private key in hex format (can be any format actually). Documentation: see here You can create a loop with that code to go through a CSV file or whatever format your list is. Edit: The following variant can be used on the command line, to add a key as a command line argument: save it as keys.py and then run it with python keys.py YOUR_KEY . The advantage is that you can run it as a loop on your command line without knowing any Python.
1 Reply Quote Share
humbleledgerLegendary
Posts: 1027 · Reputation: 6554
#12Aug 15, 2024, 08:06 AM
Are you for real? I can already tell you your remaining balance: 0. If it's only 5000 private keys, just import them into Bitcoin Core. It's the easiest way to check them privately.
2 Reply Quote Share
hash_bossLegendary
Posts: 1166 · Reputation: 5261
#13Aug 15, 2024, 11:59 AM
FWIW public Electrum server also have anti-DDoS feature which limit how much request you make, which makes process of checking many address (or address with many transaction) become slow or even stuck.
2 Reply Quote Share
max_lynxSenior Member
Posts: 210 · Reputation: 1438
#14Aug 15, 2024, 05:50 PM
A concept to private keys and seed phrases I’ve come to understand from being here. It’s supposed to be a you and you alone thing, never a third party. Should you happen to upload any of such online, sure it’s no longer private and you would be well aware that, you wouldn’t be the only one checking. Your even advised not to save your keys online and having these keys uploaded would be a worst mistake. The work you would be shying away from doing or find too rigorous would be something a team of get what we can would do in hours. So, just get going with what you’ve got. You already have a list of them, approach them in sequence. Am curious though, just how did you OP, get hold of over 5000 private keys? Bought them in some sales or something? Or perhaps it’s the much you’ve had to generate within the Bitcoin existence time frame. That seems a lot. Just how does this works though, Would it assign wallets with some balance on it to a particular key definitively or It would still be randomized or perhaps merge all of it? Don’t know what am missing but yeah, what’s to be expected in his method of bulk importation.
1 Reply Quote Share
wolf_d3fiMember
Posts: 3 · Reputation: 65
#15Aug 15, 2024, 08:29 PM
I could create a small program that does that. - A file containing 5000 privKeys in Hexa will be loaded. - A new file is then saved with the corresponding amounts in BTC. I can design the program the way they want. Open source, of course. Interest?
4 Reply Quote Share
max_lynxSenior Member
Posts: 210 · Reputation: 1438
#16Aug 15, 2024, 08:53 PM
Oh wow! How nice. So, you just joined the forum only today and your first post or activity on the forum is how you could create a program to work on the importation of some 5000 private keys, the one thing that could mean zero balance in the wrong hands, the one thing that is supposed to be very exclusive to the owner alone… I wouldn’t trust that knowing the importance of my private key, the uncertainty of wallet content, it doesn’t even matter if the content was certain but, I wouldn’t even want or wish to operate with a program that isn’t known or verified by users on the forum. It seems like a terrible idea to trust on. All I know, you could be phished this way too!
3 Reply Quote Share
n0va_2011Member
Posts: 11 · Reputation: 135
#17Aug 15, 2024, 11:18 PM
Or just write a script to cross check the great uploads you provide for current balances. Thanks for your work ill never be rate limited again
0 Reply Quote Share
humbleledgerLegendary
Posts: 1027 · Reputation: 6554
#18Aug 16, 2024, 03:31 AM
Importing a private key means just that: adding a private key to the wallet. That's it. No coins are moved, nothing gets "assigned" and nothing gets randomized. I actually did that with 9375 potential private keys. It's quite demanding on system resources.
4 Reply Quote Share

Related topics