Importing Paper Wallet Keys in Bitcoin Core Issues

6 replies 333 views
0xWizardMember
Posts: 37 · Reputation: 224
#1Nov 24, 2018, 01:24 AM
I'm using bitcoin core qt v26 on Ubuntu. Trying to importprivkey from a paper wallet and I keep getting this error: "Only legacy wallets are supported by this command (code -4)". What gives? Wasn't this easier in older versions? I read they switched to descriptor wallets and those aren’t compatible for this. Any tips on how to get around this?
3 Reply Quote Share
viper365Newbie
Posts: 28 · Reputation: 14
#2Nov 24, 2018, 02:23 AM
You gotta create a new legacy wallet, man. Not a descriptor one. Just hit up the console and run this command:...
0 Reply Quote Share
0xWizardMember
Posts: 37 · Reputation: 224
#3Nov 24, 2018, 05:16 AM
But will that even work with v26? The option to skip descriptor wallets was removed in the GUI after v25, right? I'm getting this other error too: "Error parsing JSON: blank=true".
4 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#4Nov 24, 2018, 08:37 AM
Yep, I saw you mention that here too. Just to clarify, the old command used to derive Native SegWit addresses from the private keys. If you want all address types, switch to "combo(L…privkey)" instead of just that one. And don’t forget to re-calculate the checksum with getdescriptorinfo.
3 Reply Quote Share
orbit1337Senior Member
Posts: 434 · Reputation: 941
#5Nov 24, 2018, 01:09 PM
Importing a private key with descriptor wallets is so much harder now. Like, it used to be simple. Honestly, I’d just use Electrum to sweep the private key instead.
6 Reply Quote Share
Posts: 83 · Reputation: 179
#6Nov 24, 2018, 03:31 PM
Check this guide out for importing private keys using importdescriptors. It has all the steps laid out... Plus, if this feels too tough, you could always go back to v23 or older where legacy wallets were still an option.
1 Reply Quote Share
0xWizardMember
Posts: 37 · Reputation: 224
#7Nov 24, 2018, 07:51 PM
Tried the steps from your post and it worked! It’s kinda nerve-wracking, but thanks a ton for the help!
1 Reply Quote Share

Related topics