Bitcoin Forum
November 09, 2024, 09:28:23 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Private key extraction  (Read 3751 times)
Vernon715 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
June 07, 2012, 04:57:07 PM
 #1

How do I extract private keys from the standard bitcoin client?

I am running windows 7.

Also, what clients allow for you to enter private keys?

Please donate: 1FfJzfpGCXD6saKqmMs8W1qt9wouhA98Mj

http://bitcoinpyramid.com/r/1642

100101011010100100101010010111001010010101010100101001000100101010101010101010
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
June 07, 2012, 05:03:54 PM
 #2

I am running windows 7.
0. get a real computer(linux)
1. download https://github.com/gavinandresen/bitcointools
2. ./dbdump.py --wallet

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
flatfly
Legendary
*
Offline Offline

Activity: 1092
Merit: 1016

760930


View Profile
June 07, 2012, 09:38:24 PM
 #3

No need for Linux to do that. To extract your private keys,  Pywallet works just fine on windows. You need to install python 2.7 first. Let me know if you need help with the process.

As for clients that support importing of external keys, for windows, check out Electrum and MultiBit, both are real good.  To compare their features, you can use my chart, which is up-to-date: http://dre.tx0.org/compare.htm (There's Armory too, but it's still in alpha for now)
Vernon715 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
June 07, 2012, 11:50:03 PM
Last edit: June 08, 2012, 12:09:41 AM by Vernon715
 #4

No need for Linux to do that. To extract your private keys,  Pywallet works just fine on windows. You need to install python 2.7 first. Let me know if you need help with the process.

As for clients that support importing of external keys, for windows, check out Electrum and MultiBit, both are real good.  To compare their features, you can use my chart, which is up-to-date: http://dre.tx0.org/compare.htm (There's Armory too, but it's still in alpha for now)

I have python 3.2. Will that still work?

Thanks!

EDIT: The chart is VERY useful...Thanks again.

Please donate: 1FfJzfpGCXD6saKqmMs8W1qt9wouhA98Mj

http://bitcoinpyramid.com/r/1642

100101011010100100101010010111001010010101010100101001000100101010101010101010
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 08, 2012, 12:11:32 AM
 #5

Code:
 $ ./bitcoind dumpprivkey [bitcoin address]
Vernon715 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
June 08, 2012, 12:24:26 AM
 #6

Code:
 $ ./bitcoind dumpprivkey [bitcoin address]

I am assuming that is what I put into python shell, and, when I did that, I was told that it was invalid syntax, due to the dollar sign.

What did I do wrong?

Thanks!

Please donate: 1FfJzfpGCXD6saKqmMs8W1qt9wouhA98Mj

http://bitcoinpyramid.com/r/1642

100101011010100100101010010111001010010101010100101001000100101010101010101010
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 08, 2012, 12:28:26 AM
 #7

Code:
 $ ./bitcoind dumpprivkey [bitcoin address]

I am assuming that is what I put into python shell, and, when I did that, I was told that it was invalid syntax, due to the dollar sign.

What did I do wrong?

Thanks!

No. That's what you put into your normal command line if you're runing linux.
If you're on windows you'll need to use the complete path the the bitcoind binary.

The dollar sign just tells you the command is to be used with a normal user account(not root). lol

Resuming: You just need bitcoin to be run as a server to dump your private keys. Forget pywallet. Don't over complicate your life.
cantor
Newbie
*
Offline Offline

Activity: 31
Merit: 0



View Profile
June 08, 2012, 12:28:51 AM
 #8

Code:
 $ ./bitcoind dumpprivkey [bitcoin address]

I am assuming that is what I put into python shell, and, when I did that, I was told that it was invalid syntax, due to the dollar sign.

What did I do wrong?

Thanks!

What it means is open a console terminal and type in that command.  Since you're on Windows, you'll probably have to go to the directory with the bitcoind executable, and run: bitcoind dumpprivkey [bitcoin address]
Vernon715 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
June 08, 2012, 12:52:07 AM
 #9


No. That's what you put into your normal command line if you're runing linux.
If you're on windows you'll need to use the complete path the the bitcoind binary.

The dollar sign just tells you the command is to be used with a normal user account(not root). lol

Resuming: You just need bitcoin to be run as a server to dump your private keys. Forget pywallet. Don't over complicate your life.

Can you give me a bit more explanation? My technical skills are limited, and I am not sure how to run bitcoin as a server.

Thanks,

Vernon715

Please donate: 1FfJzfpGCXD6saKqmMs8W1qt9wouhA98Mj

http://bitcoinpyramid.com/r/1642

100101011010100100101010010111001010010101010100101001000100101010101010101010
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 08, 2012, 01:16:51 AM
Last edit: June 08, 2012, 12:26:02 PM by psy
 #10

Click the Bitcoin shortcut with the right button of the mouse and select Properties.
On the path entry of the properties window write -server at the end and save
Start bitcoin using that shortcut and it's running as a server

next: open your command prompt.
write:
cd "C:\Program Files\Bitcoin\daemon"

Now that your on the bitcoin directory write:
bitcoind dumpprivkey [bitcoin address]
and press enter. don't forget to replace [bitcoin address] with the address you wish to get the private key from

If you don't get it and have Teamviewer I can help you. Send me a PM with your teamviewer ID and PIN.
someguy123
Sr. Member
****
Offline Offline

Activity: 336
Merit: 254


CEO of Privex Inc. (www.privex.io)


View Profile WWW
June 08, 2012, 04:34:23 AM
 #11

cd "C:\Program Files\Bitcoin\"
Slightly wrong, you need to
Code:
cd "C:\Program Files\Bitcoin\daemon"
and if you're on 64-bit
Code:
cd "C:\Program Files (x86)\Bitcoin\daemon"

Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 08, 2012, 04:35:37 AM
 #12

eh, I use linux. Sorry about the wrong path Tongue
Vernon715 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
June 08, 2012, 12:24:25 PM
 #13

Thanks!

Please donate: 1FfJzfpGCXD6saKqmMs8W1qt9wouhA98Mj

http://bitcoinpyramid.com/r/1642

100101011010100100101010010111001010010101010100101001000100101010101010101010
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!