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?
Check keys privately
17 replies 163 views
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.
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.
Thank you very much for your help, I will try it
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.
I can't do this in Electrum. It wants private keys in WIF format but my list is in hex format
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
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
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.
just_ninjaMember
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.
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.
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.
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.
A concept to private keys and seed phrases Ive come to understand from being here. Its supposed to be a you and you alone thing, never a third party. Should you happen to upload any of such online, sure its no longer private and you would be well aware that, you wouldnt 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 youve 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 its the much youve 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?
Dont know what am missing but yeah, whats to be expected in his method of bulk importation.
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?
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 wouldnt trust that knowing the importance of my private key, the uncertainty of wallet content, it doesnt even matter if the content was certain but, I wouldnt even want or wish to operate with a program that isnt 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!
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
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.
Related topics
- Bitcoin Core displaying coins (UTXOs) in a new tab 13
- Are you in favor of BIP-110? Let's get a Bitcoin poll going. 0
- Erlay seems to have some issues here’s a better proposal for a bitcoin protocol without invites 3
- New Optional Hourglass Implementation is Live 3
- Ways to earn some sats by contributing to bitcoin core development 5
- Exploring the Potential and Challenges of a Kardashev-Scale Bitcoin Network 3