Post
Topic
Board Development & Technical Discussion
Re: Simple Program to Reveal Bitcoin address from Private Keys
by
BrewMaster
on 22/07/2019, 16:37:43 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

note that this code doesn't give you "addresses" (which is what OP is looking for), instead it gives you public keys and that only in uncompressed form which you have to first decide whether you want to use the compressed or uncompressed type then you have to hash them and do the address encoding (base58 or bech32) to get the respective addresses.