Bitcoin Forum
December 04, 2016, 10:21:42 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Private key extraction  (Read 3427 times)
Vernon715
Full Member
***
Offline Offline

Activity: 182



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
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480846902
Hero Member
*
Offline Offline

Posts: 1480846902

View Profile Personal Message (Offline)

Ignore
1480846902
Reply with quote  #2

1480846902
Report to moderator
1480846902
Hero Member
*
Offline Offline

Posts: 1480846902

View Profile Personal Message (Offline)

Ignore
1480846902
Reply with quote  #2

1480846902
Report to moderator
kokjo
Legendary
*
Offline Offline

Activity: 1050

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

Activity: 938


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)

1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
Vernon715
Full Member
***
Offline Offline

Activity: 182



View Profile
June 07, 2012, 11:50:03 PM
 #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: 1442



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

Code:
$ ./bitcoind dumpprivkey [bitcoin address]

Vernon715
Full Member
***
Offline Offline

Activity: 182



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: 1442



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
Jr. Member
*
Offline Offline

Activity: 31



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
Full Member
***
Offline Offline

Activity: 182



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: 1442



View Profile
June 08, 2012, 01:16:51 AM
 #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: 335


PHP Coder, Bitcoin enthusiast, Litecointalk admin


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"

1SoMGuYknDgyYypJPVVKE2teHBN4HDAh3
Administrator/owner of LTC Forum | LTC Block Explorer | Someguy123 Web Development
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1442



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

eh, I use linux. Sorry about the wrong path Tongue

Vernon715
Full Member
***
Offline Offline

Activity: 182



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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!