Author

Topic: How do I view/see my private keys on Bitcoin-Qt (Read 12589 times)

legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
Im on mac os. Also - where does Bitcoin-Qt save the main wallet.dat file that it uses?
(Im a fairly new Mac user too so still working out where the app files are etc)

Go to /Library/Application Support/Bitcoin to find bitcoin's data. wallet.dat lives there.

To dump a private key, do thus:

1.) From Menu, click Help > Debug Window

2.) Click on Console

3.) type dumpprivkey [bitcoin address]




Quote
I keep hearing really good things about Armoury ... so do you justsend your coins from Bitcoin-qt to yourself in your new Armoury wallet?

T.

Or you could import the private key you just dumped into Armory. I assume Armory has an import key command.

this still true for a mac say with 0.14.2 core

I could use a way to get one address's key's as I think i need them
hero member
Activity: 743
Merit: 500
useful info thx Severian
sr. member
Activity: 476
Merit: 250
Just one thing, Bitcoin-qt needs to be 0.7.0, or else there will be no debug window Smiley

0.7.0 is a huge improvement for Mac. I could import a key previously via the GUI, but it wasn't pretty or graceful.
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
You need bitcoind.

Except there is no bitcoind for Mac. Wink

Severian already gave him the correct answer.
Just one thing, Bitcoin-qt needs to be 0.7.0, or else there will be no debug window Smiley
Oops, missed that is MAC lol
legendary
Activity: 1358
Merit: 1002
You need bitcoind.

Except there is no bitcoind for Mac. Wink

Severian already gave him the correct answer.
Just one thing, Bitcoin-qt needs to be 0.7.0, or else there will be no debug window Smiley
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
You need bitcoind.
Code:
bitcoind help
It will give you all supported commands.

To get private key you need use command:
Code:
bitcoind dumpprivkey 1YourAddressYouWantToDump
If wallet is encrypted you need
Code:
bitcoind walletpassphrase YourWalletPassword 60
to unlock it for 60seconds.

To import address to another wallet you need use
Code:
bitcoind importprivkey PrivKeyYouHaveDumpedEarlier LabelForThisAddress

Importing new key takes some time (even few mins, depends on machine), because bitcoin is scanning entire blockchain to determine current address balance.
sr. member
Activity: 476
Merit: 250
Im on mac os. Also - where does Bitcoin-Qt save the main wallet.dat file that it uses?
(Im a fairly new Mac user too so still working out where the app files are etc)

Go to /Library/Application Support/Bitcoin to find bitcoin's data. wallet.dat lives there.

To dump a private key, do thus:

1.) From Menu, click Help > Debug Window

2.) Click on Console

3.) type dumpprivkey [bitcoin address]



Quote
I keep hearing really good things about Armoury ... so do you justsend your coins from Bitcoin-qt to yourself in your new Armoury wallet?

T.

Or you could import the private key you just dumped into Armory. I assume Armory has an import key command.
hero member
Activity: 1470
Merit: 509
What operating system are you using?

Im on mac os. Also - where does Bitcoin-Qt save the main wallet.dat file that it uses?
(Im a fairly new Mac user too so still working out where the app files are etc)

I keep hearing really good things about Armoury ... so do you justsend your coins from Bitcoin-qt to yourself in your new Armoury wallet?

T.

legendary
Activity: 2506
Merit: 1010
How do I export so I can see the private keys with each of my addresses?

From Bitcoind you can export the keys but if you are using accounts, you will need to do the export for each account. 

See:
 - http://bitcoin.stackexchange.com/a/4633/153

Pywallet is a utility that will export the keys.

Just make sure you have closed the client before accessing the database with pywallet.

And make sure you make a good backup of your wallet.dat before doing any of this.
vip
Activity: 1316
Merit: 1043
👻
Just get armoury, it's way better.
sr. member
Activity: 476
Merit: 250
What operating system are you using?
hero member
Activity: 1470
Merit: 509
Hi,

I've read on forums that you can export your wallet and view/see the private keys.

On QT - there is a "backup" feature and there is an export feature.

When I back up my wallet the .dat file is unreadable, and the export does export addresses and transactions.

How do I export so I can see the private keys with each of my addresses? Or is this something that you can only do in other wallets like Armoury.?

T.
Jump to: