1

Example address bc1q69wqlexdn250purgskahfj9pg2f3ylg82vgy9m

private key (WIF) KyVWvid6fC5WXHrV35ZkxqXgXsYrE9mPxMpusWBFiF771y2AYZrz

How can I import this into an existing wallet (Bitcoin-qt)?

I tried the other questions about import but that doesn't seem to work anymore (as of 2023).

importprivatekey command returns null but that address (or any other address) is nowhere to be seen in QT.

3
  • 1
    Do you know if you're trying to import it into a legacy wallet or a newer descriptor based one?
    – Sosthène
    Commented Feb 28, 2023 at 13:34
  • I used the latest bitcoin-core (downloaded yesterday)
    – Jus12
    Commented Feb 28, 2023 at 14:53
  • 1
    Ok and did you create a new wallet or import an existing one? I'm asking all this because wallets are now descriptor based by default, and I think you should use importdescriptor instead of importprivkey if that's a new wallet. That should look something like wpkh(KyVWvid6fC5WXHrV35ZkxqXgXsYrE9mPxMpusWBFiF771y2AYZrz). I can't help with the gui though, as I haven't used it in ages.
    – Sosthène
    Commented Mar 1, 2023 at 13:18

1 Answer 1

1

There should be the addresses shown in the Receiving addresses window: Bitcoin-qt receiving address

1
  • Wow! the import actually worked. No need for descriptor. It imported 3 addresses, which I assume are, non-segwit, segwit and segwit-bech32. That "receiving address" option is so hidden, that I missed it. I clicked on "Receive" and there were no addresses shown.
    – Jus12
    Commented Mar 5, 2023 at 16:04

Your Answer

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

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