Post
Topic
Board Development & Technical Discussion
Re: Simple Program to Reveal Bitcoin address from Private Keys
by
seoincorporation
on 22/07/2019, 15:18:38 UTC
I have thousands of old bitcoin private keys. Is there a program to reveal the bitcoins address on this private keys?
Or is there a simple programming code to convert the private keys to bitcoin address?

You can use this script

https://gist.github.com/dooglus/3b1fcbc2449063a1c3f7f1003ca26447

Good luck

That script is a good option, dooglus is one of the best coders on this community, but if you get the address you will have to verify their balance one by one, that's why the best option is to import those privatekeys on a bitcoin wallet, if you use bitcoin core the command to import a key is the next one:

Code:
importprivkey yourPrivateKeyInWalletImportFormat

You can use a bash script to import multiple keys, first of all put all those keys on a text file and then you can run something like:

Code:
for a in $(cat keys.txt)
 do
  bitcoin-cli importprivkey $a
 done