0

Trying to import a paper wallet to bitcoin core, while not having a fully synced node.

I've used: importprivkey 1Lblablablablabla "MyLabel" false It returns "null", which I understand means successful import.

But then when I use dumpprivkey with the associated public address, it says there is no private key associated with the address.

I also look in the GUI and can't find any clue as to where that private key has been imported.

So basically the wallet is not giving me errors of failed import, but also not actually importing the private key. What should I do?

8
  • What command did you use to import the key? It sounds like you just imported a bitcoin address, not a private key.
    – chytrik
    Mar 2, 2021 at 22:57
  • I wrote the exact command, importprivkey "private_key" (without the quotes). I'm not going to write the actual private key here, obviously. Mar 2, 2021 at 23:44
  • 1
    does the private key you imported start with a '1'? If so, that sounds like it is a bitcoin address, not a privkey. You are right to not post what the privkey is exactly, but it may be helpful to describe it (ie, what character does it start with? how long of a string is it?), to ensure you're attempting to import a key with the correct format.
    – chytrik
    Mar 3, 2021 at 2:03
  • Compare the length, mix of character types and initial character of your private key value with examples in private key and address - this will help you discover if the value you have is one or the other. Also any small mistake in typing will be important. Mar 3, 2021 at 12:54
  • 1
    Does dumpwallet show anything relevant? Mar 3, 2021 at 14:24

1 Answer 1

0

You can use dumpwallet to examine the wallet's contents after importing the private key.

(for completeness, since comments are disposable)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.