How to Import Private Keys

From Sexcoin Wiki
Revision as of 11:50, 11 July 2017 by Lavajumper (talk | contribs)
Jump to: navigation, search

Caution: Be careful while transferring private keys. Wrongful handling can cause the loss of your Sexcoins. Always make a backup of your wallet.dat before importing and exporting private keys.

Sexcoin-QT

Open the RPC console

Click on Help, open the Debug Window and switch to the Console tab.

Unlock your wallet

If your Sexcoin-QT wallet is not encrypted (not recommended) you can skip this step. To unlock your wallet you need to type in the RPC console:
walletpassphrase MyWalletPass 60

Change MyWalletPass to your wallet passphrase and change 60 to the number of seconds that you want the wallet to be unlocked. After that time the wallet will be locked automatically. Make sure to unlock the wallet long enough to do the next and final step.

Import the private key

Type into the RPC console:

importprivkey MyPrivateKey Lable

Change MyPrivateKey to your private key (starts with 'V' ) and for Label you can enter a name/description/label for the key (optional). The importing takes a few minutes depending on your CPU power. The import is done when an empty line appears in your console. Now you should be able to see the corresponding address to the imported key in the Addresses section.