Difference between revisions of "Import BTC private key to Electrum"

From DeFiChain-Wiki
(Created page with "'''Warning:''' Using native BTC is still in beta and it might not be possible to do much with BTC in the DeFiWallet! Try out first if you can really do what you plan to do (re...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
You can use the BTC private key in Electrum to sweep the coins to an Electrum wallet as follows:
 
You can use the BTC private key in Electrum to sweep the coins to an Electrum wallet as follows:
  
#Create a new standard wallet -> https://bitcoinelectrum.com/creating-an-electrum-wallet/
+
#Do this: [[Private key read out of the app]]
#Sweep the BTC private key that you got from the command <code>spv_dumpprivkey</code> by selecting "Wallet - Private Keys - Sweep" in the menu. You have to prepend the key with <code>p2wpkh:</code> since the originating address is a SegWit Bech32 format. More information can be found here: https://bitcoinelectrum.com/sweeping-your-private-keys-into-electrum/.  Example:
+
#Download Electrum from [https://electrum.org/ electrum.org] and then create a new standard wallet with it -> https://bitcoinelectrum.com/creating-an-electrum-wallet/
 +
#Sweep the BTC private key that you got from the command <code>spv_dumpprivkey</code> selecting "Wallet - Private Keys - Sweep" in the menu. You have to prepend the key with <code>p2wpkh:</code> since the originating address is a SegWit Bech32 format. More information can be found here: https://bitcoinelectrum.com/sweeping-your-private-keys-into-electrum/.  Example:
  
[[File:Sweep the key.png|left|frame|link=https://defichain-wiki.com/wiki/File:Sweep_the_key.png]]
+
[[File:Sweep the key.png|frame|link=https://defichain-wiki.com/wiki/File:Sweep_the_key.png|alt=|none]]
 +
 
 +
4. A popup will ask for the fee. The predetermined fee should be fine, just click send:
 +
[[File:Fees.png|frame|alt=|none]]
 +
 
 +
5. The BTC from your BTC DeFiWallet will now be moved to the address of the Electrum wallet from where you can send it somewhere else if you like.

Latest revision as of 14:49, 5 December 2021

Warning: Using native BTC is still in beta and it might not be possible to do much with BTC in the DeFiWallet! Try out first if you can really do what you plan to do (receiving, swapping, sending ...). If you need to get BTC out of the app and sending doesn't work, you can use the following work around:

You can use the BTC private key in Electrum to sweep the coins to an Electrum wallet as follows:

  1. Do this: Private key read out of the app
  2. Download Electrum from electrum.org and then create a new standard wallet with it -> https://bitcoinelectrum.com/creating-an-electrum-wallet/
  3. Sweep the BTC private key that you got from the command spv_dumpprivkey selecting "Wallet - Private Keys - Sweep" in the menu. You have to prepend the key with p2wpkh: since the originating address is a SegWit Bech32 format. More information can be found here: https://bitcoinelectrum.com/sweeping-your-private-keys-into-electrum/. Example:

4. A popup will ask for the fee. The predetermined fee should be fine, just click send:

5. The BTC from your BTC DeFiWallet will now be moved to the address of the Electrum wallet from where you can send it somewhere else if you like.