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

From DeFiChain-Wiki
(added BTC wallet command)
m (unlock wallet)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
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.  
 
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.  
[[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]]Unlock your wallet.  
  
Enter the following command: <code>dumpprivkey ''"your address"''</code>.
+
Go to the console.
  
Confirm with Enter ⏎
+
Enter the following command: <code>dumpprivkey ''"your address"''</code>.<blockquote>''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]].</blockquote>Confirm with Enter ⏎
  
 
(Should I explain here where the Enter key is located?)
 
(Should I explain here where the Enter key is located?)
 
[[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]]

Latest revision as of 14:30, 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

Unlock your wallet.

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