0

I have the public address, and the private key of a BTC wallet. How can I import this into bitcoin core so that I can use it to sign messages?

I need to be able to sign a message to show that I possess the private keys for an account.

Thanks for any help.

  • what is YourLongPassphrase in that answer? – John Murphy Jun 1 '18 at 8:35
  • its a password you set up for bitcoin core wallet. if you don't have one (which is highly unrecommended) you should skip this command – Zergatul Jun 1 '18 at 8:36
  • It seems I have lost the passphrase. Is there any way to reset bitcoin core, or do i need to do a full reinstall? I have no funds on bitcoin core currently so have no problem resetting it all. Thanks for your help, zergatul. – John Murphy Jun 1 '18 at 8:41
  • I am not sure, you can try to delete wallet.dat file – Zergatul Jun 1 '18 at 8:54