Bitcoin Forum

Other => Beginners & Help => Topic started by: jollygreengiant on December 16, 2012, 01:11:37 AM



Title: .Help! can someone explain how to extract privkey from wallet.dat
Post by: jollygreengiant on December 16, 2012, 01:11:37 AM
Hi, sorry if this has been covered but ive been searching for hours and still cant seem to find an easy to follow answer.........can someone with better knoweledge talk me through it please?

I need to extract the private key from my wallet.dat from bitcoin-qt, i want to use it to open a pending transaction using an online client .  >:(


Title: Re: .Help! can someone explain how to extract privkey from wallet.dat
Post by: gusti on December 16, 2012, 01:23:11 AM
https://bitcointalk.org/index.php?topic=86085.0


Title: Re: .Help! can someone explain how to extract privkey from wallet.dat
Post by: jollygreengiant on December 16, 2012, 01:38:59 AM
Hi Gusti , thanks for that ........i had read and tried that but its not too clear on how to run the bitcoin client as server .........i right click on properties but where do i add -server???

thanks for the help:)


Title: Re: .Help! can someone explain how to extract privkey from wallet.dat
Post by: gusti on December 16, 2012, 01:45:01 AM
Hi Gusti , thanks for that ........i had read and tried that but its not too clear on how to run the bitcoin client as server .........i right click on properties but where do i add -server???

thanks for the help:)


Instead of starting with GUI, you start bitcoind from command line.
Another approach is using pywallet on windows.


Title: Re: .Help! can someone explain how to extract privkey from wallet.dat
Post by: Uncurlhalo on December 16, 2012, 01:46:26 AM
You can get the private key of a single address in the standard bitcoin-qt client by going to help->debug window->console. You can then type in "dumpprivkey" without quotes followed by the bitcoin address you want the private key of. Hit enter and the string it shows is the private key for that address.

Be careful with who you give this to, because with it someone can take all the coins currently associated with that address. Hope this helps.


Title: Re: .Help! can someone explain how to extract privkey from wallet.dat
Post by: jollygreengiant on December 16, 2012, 01:54:38 AM
thanks guys , sorry if i sound stupid Uncurlhalo but where do i type   'help->debug window->console'  .....in the command line??

and do i have to open bitcoind in command line first and if so how do i do that ........when i try to open using bitcoind -daemon it says ....'bitcoind is not recognized as an internal or external command, operable program or batch file ' ?
thanks for your patience guys


Title: Re: .Help! can someone explain how to extract privkey from wallet.dat
Post by: teste on December 16, 2012, 02:00:24 AM
Hi, here you can import your wallet: https://blockchain.info/wallet/import-wallet
This service has option to export the private keys.


Title: Re: .Help! can someone explain how to extract privkey from wallet.dat
Post by: jollygreengiant on December 16, 2012, 02:39:49 AM
Thanks a million guys , thanks to you its done!!!:)


Title: Re: .Help! can someone explain how to extract privkey from wallet.dat
Post by: teste on December 16, 2012, 02:46:11 AM
How you did?