How do I import a non-public key into Bitcoin-Core?

0
14
How do I import a non-public key into Bitcoin-Core?


For these of you seeking to import your Vainness tackle into your BitCoin QT shopper, listed here are the directions (supply):

Backup Your Pockets
Though this course of is properly examined and used you need to all the time take one other backup of your pockets.dat file earlier than beginning.

Open Debug Window
Then go to menu: /Assist/Debug Window and click on on the tab – Console.

Unlock your pockets
In case your pockets is encrypted (I hope it’s!) you have to unlock it. If not simply skip this step.

To do that simply kind into the field on the backside:

walletpassphrase "YourLongPassphrase" 600

You want the quotes if there’s a house in your phrase else there isn’t a want for them. The 600 means your pockets is unlocked for 10 minutes (600 seconds).

Run Import Command in Debug Window
Within the console on the very backside is a textual content entry field. In right here enter:

importprivkey yourPrivateKeyInWalletImportFormat "TheLabelThatIWant"

The personal key should not have any areas, take away them in the event that they existt in your backup. The label could have areas, the quotes are solely wanted if you need an area within the label.

You now must be affected person. On a quick PC it takes 2 minutes to import, and through this time it seems to be such as you utility has hung. You at the moment are completed. However all the time finest to examine it labored.

Verify Key Imported OK
As soon as Imported you’ll be able to examine that you’ve the tackle by closing the Debug window and going again to your tackle guide. You must see the tackle right here.

  • Restart your BitCoin QT Consumer to see the brand new tackle in your Obtain
    “Tab”

Backup Pockets
Your backup of your pockets is not going to have this key in clearly. So earlier than you do anything backup the pockets.dat file as regular.

LEAVE A REPLY

Please enter your comment!
Please enter your name here