20 sats \ 2 replies \ @frostdragon 31 Jul 2022 \ on: How can I create a bot to automatically sweep a list of private keys? bitcoin
I’ve thought through this a bit. If you’re talking about checking wallets for balances by enumerating private keys, you’d need to generate public keys and check it against the ledger as you enumerate through the list of all possible seed phrases. Keep in mind a private key can generate numerous public keys.
If you run that bot on the world’s best computers, you might get lucky after a few thousand years. But probably not.
How would I create a bot to sweep the keys derived from a seed phrase once an hour?
reply
Kinda hard to answer that without writing the code to create the bot, but the summarized steps are in the original comments.
You’re not going to be able to generate all private keys, so you’d have to check them as they’re enumerated. Most likely would need a loop function that generates a private key, then the public keys, then searches for the public key in the ledger, and repeats for all possible private keys.
reply