Difference between revisions of "Private key read out of the app"

From DeFiChain-Wiki
(added BTC wallet command)
(Added link to electrum import page.)
Line 8: Line 8:
 
[[File:Bildschirmfoto 2021-03-13 um 23.40.59.png|center|thumb|900x900px|Check if this address really contains all coins!]]Check if this address really contains all coins![[File:Bildschirmfoto 2021-03-13 um 23.49.001.png|center|thumb|900x900px|Go to the console]]Go to the console.
 
[[File:Bildschirmfoto 2021-03-13 um 23.40.59.png|center|thumb|900x900px|Check if this address really contains all coins!]]Check if this address really contains all coins![[File:Bildschirmfoto 2021-03-13 um 23.49.001.png|center|thumb|900x900px|Go to the console]]Go to the console.
  
Enter the following command: <code>dumpprivkey ''"your address"''</code>.
+
Enter the following command: <code>dumpprivkey ''"your address"''</code>.''Note'': For reading the native BTC private key instead of a DFI key, use command <code>spv_dumpprivkey ''"your address"''</code> instead. You can use the BTC key for example in Electrum, see here: [[Import BTC private key to Electrum]].
  
 
Confirm with Enter ⏎
 
Confirm with Enter ⏎
Line 15: Line 15:
 
[[File:Bildschirmfoto 2021-03-13 um 23.56.36.png|center|thumb|900x900px|The private key is displayed.  L4d4AisBuCcQxyB6Be2BRh2fbuBZ6F9v6oos9uzvTWDovNvaw6rr]]
 
[[File:Bildschirmfoto 2021-03-13 um 23.56.36.png|center|thumb|900x900px|The private key is displayed.  L4d4AisBuCcQxyB6Be2BRh2fbuBZ6F9v6oos9uzvTWDovNvaw6rr]]
  
 
Hint: For reading the native BTC private key, use command <code>spv_dumpprivkey</code> instead. Warning: native BTC is still in beta! Try out first if you can really do what you plan to do (receiving, swapping, sending ...).
 
<span class="react-console-prompt-label"></span>
 
 
[[Privatkey auslesen|This text in German]]
 
[[Privatkey auslesen|This text in German]]

Revision as of 13:42, 5 December 2021

Description of how the private key can be read out of the app.

Copy the DFI address to which you want to read the private key

Copy the DFI address to which you want to read the private key.

Go to dex.defichain.com and search for this address.

Note: The website operator can theoretically link your IP address with this DFI address. It may be useful to use a VPN or a TOR browser.

Check if this address really contains all coins!

Check if this address really contains all coins!

Go to the console

Go to the console.

Enter the following command: dumpprivkey "your address".Note: For reading the native BTC private key instead of a DFI key, use command spv_dumpprivkey "your address" instead. You can use the BTC key for example in Electrum, see here: Import BTC private key to Electrum.

Confirm with Enter ⏎

(Should I explain here where the Enter key is located?)

The private key is displayed. L4d4AisBuCcQxyB6Be2BRh2fbuBZ6F9v6oos9uzvTWDovNvaw6rr

This text in German