Bitcoin Forum
May 05, 2024, 06:09:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I view/see my private keys on Bitcoin-Qt  (Read 12570 times)
tenakha (OP)
Hero Member
*****
Offline Offline

Activity: 1470
Merit: 509



View Profile
September 18, 2012, 11:36:17 AM
 #1

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

Posts: 1714932569

View Profile Personal Message (Offline)

Ignore
1714932569
Reply with quote  #2

1714932569
Report to moderator
1714932569
Hero Member
*
Offline Offline

Posts: 1714932569

View Profile Personal Message (Offline)

Ignore
1714932569
Reply with quote  #2

1714932569
Report to moderator
1714932569
Hero Member
*
Offline Offline

Posts: 1714932569

View Profile Personal Message (Offline)

Ignore
1714932569
Reply with quote  #2

1714932569
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714932569
Hero Member
*
Offline Offline

Posts: 1714932569

View Profile Personal Message (Offline)

Ignore
1714932569
Reply with quote  #2

1714932569
Report to moderator
Severian
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
September 18, 2012, 11:40:00 AM
 #2

What operating system are you using?
🏰 TradeFortress 🏰
Bitcoin Veteran
VIP
Legendary
*
Offline Offline

Activity: 1316
Merit: 1043

👻


View Profile
September 18, 2012, 11:40:38 AM
 #3

Just get armoury, it's way better.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
September 18, 2012, 11:46:23 AM
 #4

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.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


tenakha (OP)
Hero Member
*****
Offline Offline

Activity: 1470
Merit: 509



View Profile
September 18, 2012, 12:07:02 PM
 #5

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.

Severian
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
September 18, 2012, 12:12:44 PM
 #6

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.
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
September 18, 2012, 12:19:00 PM
 #7

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.

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
September 18, 2012, 12:23:28 PM
 #8

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

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
September 18, 2012, 12:34:50 PM
 #9

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

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
Severian
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
September 18, 2012, 12:37:50 PM
 #10

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

Activity: 743
Merit: 500



View Profile
September 18, 2012, 06:24:39 PM
 #11

useful info thx Severian

Supporting people with beautiful creative ideas. Bitcoin is because of the developers,exchanges,merchants,miners,investors,users,machines and blockchain technologies work together.
philipma1957
Legendary
*
Online Online

Activity: 4116
Merit: 7850


'The right to privacy matters'


View Profile WWW
August 02, 2017, 01:14:16 AM
 #12

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

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
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!