Bitcoin Forum
May 07, 2024, 07:32:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Simple Program to Reveal Bitcoin address from Private Keys  (Read 253 times)
blink (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 21



View Profile
July 22, 2019, 01:27:00 PM
 #1

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?
1715110343
Hero Member
*
Offline Offline

Posts: 1715110343

View Profile Personal Message (Offline)

Ignore
1715110343
Reply with quote  #2

1715110343
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715110343
Hero Member
*
Offline Offline

Posts: 1715110343

View Profile Personal Message (Offline)

Ignore
1715110343
Reply with quote  #2

1715110343
Report to moderator
1715110343
Hero Member
*
Offline Offline

Posts: 1715110343

View Profile Personal Message (Offline)

Ignore
1715110343
Reply with quote  #2

1715110343
Report to moderator
1715110343
Hero Member
*
Offline Offline

Posts: 1715110343

View Profile Personal Message (Offline)

Ignore
1715110343
Reply with quote  #2

1715110343
Report to moderator
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
July 22, 2019, 03:05:12 PM
 #2

import them into bitcoin core or electrum or any other wallet of your choice
you can also use bitaddress.org, download the source and run it offline mode

dmitrygerasimov
Newbie
*
Offline Offline

Activity: 17
Merit: 2


View Profile
July 22, 2019, 03:07:33 PM
 #3

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
seoincorporation
Legendary
*
Offline Offline

Activity: 3150
Merit: 2931


Top Crypto Casino


View Profile
July 22, 2019, 03:18:38 PM
 #4

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

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
BrewMaster
Legendary
*
Offline Offline

Activity: 2114
Merit: 1292


There is trouble abrewing


View Profile
July 22, 2019, 04:37:43 PM
 #5

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.

There is a FOMO brewing...
seoincorporation
Legendary
*
Offline Offline

Activity: 3150
Merit: 2931


Top Crypto Casino


View Profile
July 22, 2019, 07:33:26 PM
 #6

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.

If the goal is to only get the address i think OP should take a look to this link about how to generate a bitcoin address step by step, if OP understands the theory about it he will be able to code his own script to get the addys of all those privatekeys.

https://medium.com/coinmonks/how-to-generate-a-bitcoin-address-step-by-step-9d7fcbf1ad0b

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7483


Crypto Swap Exchange


View Profile
July 22, 2019, 08:10:10 PM
Merited by bones261 (2)
 #7

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

By default, Bitcoin Core will rescan whole blockchain to find all transaction related to the imported private key. If OP insist use Bitcoin Core, i think skip scanning when import private key & perform scan after all private keys are imported is more efficient.

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

bitcoin-cli rescanblockchain

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!