Transferring coins from Bitcoin-Qt to Electrum: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Belcher (talk | contribs)
→‎Obtain new Electrum wallet: people kept coming for advice saying they've got a watch-only wallet
Belcher (talk | contribs)
slightly reworded to remove qualifier
Line 5: Line 5:
'''WARNING'''
'''WARNING'''


Before reading this page, users should note that directly manipulating ECDSA [[private keys]] is dangerous and can result in losing bitcoins<ref>[https://bitcoin.stackexchange.com/questions/29948/why-doc-says-importing-private-keys-is-so-dangerous Bitcoin StackExchange - Why doc says importing private keys is so dangerous?]</ref><ref>[https://bitcoin.stackexchange.com/questions/18619/why-so-many-warnings-about-importing-private-keys Bitcoin StackExchange - Why so many warnings about importing private keys?]</ref>. This guide is for the impatient or time-stressed, it is recommended that users of [[Bitcoin Core]] simply wait out the [[block chain download|blockchain synchronization]]. There are many benefits to running a [[Full node]] including trustlessness, security and privacy which lightweight wallets cannot yet match.
Before reading this page, users should note that directly manipulating ECDSA [[private keys]] is dangerous and can result in losing bitcoins<ref>[https://bitcoin.stackexchange.com/questions/29948/why-doc-says-importing-private-keys-is-so-dangerous Bitcoin StackExchange - Why doc says importing private keys is so dangerous?]</ref><ref>[https://bitcoin.stackexchange.com/questions/18619/why-so-many-warnings-about-importing-private-keys Bitcoin StackExchange - Why so many warnings about importing private keys?]</ref>. This guide is for the impatient or time-stressed, it is recommended that users of [[Bitcoin Core]] simply wait out the [[block chain download|blockchain synchronization]]. There are many benefits to running a [[Full node]] including trustlessness, security and privacy which lightweight wallets cannot match.


== Obtain new Electrum wallet ==
== Obtain new Electrum wallet ==

Revision as of 12:07, 20 May 2016

This guide is intended for users of Bitcoin Core who do not want to wait for their wallet to be synchronized with the network, which may take many hours or days depending on the hardware spec.

It's a somewhat common situation that users don't open their wallet for months or years, after which they come back to find it will take them hours to have be able to use Bitcoin Core. Another example is where the block files on hard disk have become corrupted requiring parts of the blockchain to be downloaded and verified again.

WARNING

Before reading this page, users should note that directly manipulating ECDSA private keys is dangerous and can result in losing bitcoins[1][2]. This guide is for the impatient or time-stressed, it is recommended that users of Bitcoin Core simply wait out the blockchain synchronization. There are many benefits to running a Full node including trustlessness, security and privacy which lightweight wallets cannot match.

Obtain new Electrum wallet

Download Electrum, verify the signature to prove it was not modified in transit. Create a new normal wallet (not watch-only!). Write down the mnemonic recovery seed on paper.

Obtain private key(s) from Bitcoin-Qt

Click Help -> Debug. Click the Console tab. Use the dumpprivkey command to get the private key. Repeat for as many bitcoin addresses as have money in them.

  dumpprivkey <your bitcoin address>

If your wallet is encrypted, use this command to decrypt it for 5 minutes:

   walletpassphrase your-wallet-passphrase 300

After that try dumpprivkey again.

Sweep private keys with Electrum

In the Electrum window, click Wallet -> Private Keys -> Sweep. Paste the private keys from Bitcoin-Qt here. Check the resulting transaction is okay and click Broadcast. Your funds will be swept from the addresses in Bitcoin Core and put in an Electrum wallet address.


References