How do I import the private key for a public address?
source branch 0.12
updated March 17, 2021, 5:49 pm
Import the private key for an address with the following instructions.
Open your wallet.
Go to Tools -> Debug console.
This is the console where you execute RPC commands.
Type the following RPC command, to import your private key:
Replace the text “privatekey” with a private key that your want to import in your wallet.