How do I import a private key?

 Use the following instructions to import the private key of an address in your wallet.

1) Open the console of your wallet.

2) Unlocking your wallet is only required when you encrypted your wallet with a password.

Unlock your wallet using the following command:

walletpassphrase yourpassword 60

Replace the text “yourpassword” with the password used to encrypt your wallet.
The number 60 is the amount of seconds your wallet is unlocked.

Example:

walletpassphrase topsecretpassword 60

3) Import your private key using the following command:

importprivkey yourprivatekey

Replace the text “yourprivatekey” with your private key.

Example:

importprivkey VZt9WMWuJF5zbTCJSuX9cwZdtuMzPhz7EkAZUFBxsvak33wg8Kvr

Popular posts from this blog

How do I mine a block? (Scrypt/SHA-256/X11)

How do I restore my wallet?

How do I mine a block on Linux? (Scrypt/SHA-256/X11)