Tuesday, October 1, 2024

Import previous paper backup (WIF personal key) into trendy Bitcoin-QT

I do not know the right way to carry out this on the GUI, however in an effort to import a WIF personal key on a contemporary Bitcoin Core you need to use a descriptor. In an effort to get better from a backup, you probably wish to use the combo() descriptor.

Right here is an instance with an instance WIF personal key: cSWVo8YMehg6STxqw6xGgmMJE6Ac6RCJ7owcrBZRAT7QANtyAAEj (it is a testnet-encoded WIF personal key on objective, yours might be completely different). There may be probably the same movement on the graphical interface, however failing you can at all times use the command line (or the command enter on the GUI).

First craft a combo descriptor from this personal key and get its checksum:

getdescriptorinfo 'combo(cSWVo8YMehg6STxqw6xGgmMJE6Ac6RCJ7owcrBZRAT7QANtyAAEj)'

We get:

{
  "descriptor": "combo(023ad6336ae257527ff59ec4356fa5d2ac33fff5e04be9e5958dfed9b0100b7948)#mv9rgx7y",
  "checksum": "9zedq5ns",
  "isrange": false,
  "issolvable": true,
  "hasprivatekeys": true
}

Now you can import this descriptor utilizing the importdescriptors command:

importdescriptors '[{"desc":"combo(cSWVo8YMehg6STxqw6xGgmMJE6Ac6RCJ7owcrBZRAT7QANtyAAEj)#9zedq5ns","timestamp":"now"}]'

Lastly rescan the blockchain from a degree earlier than which you might be sure to not have obtained cash. To rescan the entire chain from the genesis block don’t present any parameter:

rescanblockchain

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles