Bitcoin Forum
May 11, 2024, 07:59:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How export my private key from bitcoin-qt client  (Read 709 times)
schnuber (OP)
Member
**
Offline Offline

Activity: 96
Merit: 18


View Profile
March 07, 2014, 07:57:00 AM
 #1

Hello
I want to transfer my bitcoins from my local bitcoin-qt wallet to my blockchain.info wallet. Since I have slow internet connection I dont want to download the blockchain but as long as I don't do that bitcoin-qt prevents me from spending my coins. So my idea is to sweep my balance into the blockchain.info account. However, in order to do that, I have to know my private keys of my bitcoin-qt wallet in text format. The wallet.dat file is binary. So how do I export my private keys to text?
I already tried the dumpprivkey command, but it says "privat key for address <> is not known".

thx for help
1715457581
Hero Member
*
Offline Offline

Posts: 1715457581

View Profile Personal Message (Offline)

Ignore
1715457581
Reply with quote  #2

1715457581
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715457581
Hero Member
*
Offline Offline

Posts: 1715457581

View Profile Personal Message (Offline)

Ignore
1715457581
Reply with quote  #2

1715457581
Report to moderator
spin
Sr. Member
****
Offline Offline

Activity: 362
Merit: 261


View Profile
March 07, 2014, 10:27:17 AM
 #2

You need to provide the address:
e.g.
Code:
dumpprivkey 19yofyuGveqVMofLhW6dLH36mZuudfEBt1

If you liked this post buy me a beer.  Beers are quite cheap where I live!
bc1q707guwp9pc73r08jw23lvecpywtazjjk399daa
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
March 07, 2014, 10:49:28 AM
 #3

You can import the wallet file directly:

https://blockchain.info/wallet/import-wallet

But note that a desktop wallet is much better than a web based one. If you can't wait for blockchain to download you can use a lite client like electrum.

To extract the individual private keys from your wallet.dat file you may want to unlock the wallet first:

walletpassphrase <password> <time in seconds>

For example:

walletpassphrase mypassword 600
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!