How do I export the private key for a public address?
algorithm
Scrypt (PoS)
source branch0.8
updated September 11, 2024, 12:21 pm
Export the private key for an address with the following instructions.
Open your wallet.
Go to Help -> Debug Window.
Click on the tab Console.
This is the console where you execute RPC commands.
Type the following RPC command, to export your private key:
dumpprivkey publicaddress
Replace the text “publicaddress” with a public address from your wallet.
Example:
dumpprivkey TQhPf7kn6mDvi7CQVqdktP4dBgqRkugu6s
Example output:
VZt9WMWuJF5zbTCJSuX9cwZdtuMzPhz7EkAZUFBxsvak33wg8Kvr