Bitcoin Forum
May 26, 2024, 03:41:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core import p2wpkh on: August 15, 2022, 09:37:26 AM
Or maybe you can still create a New Wallet and untick Descriptor Wallet.
Solution:
Creating new wallet without descriptions. It works!
I am very grateful!

Do I need to do rescan?
2  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core import p2wpkh on: August 15, 2022, 09:25:56 AM
After spending a lot of time in Google, I realized that it was about some descriptors
I haven't used descriptor wallets yet, but achow101 on Stack Exchange gives this solution:
Quote
The migration tool has not been implemented yet, and it is not for manually importing keys. Rather it takes an existing wallet and migrates everything in that wallet.

As the error message says, descriptor wallets do not support the importprivkey. You will have to use importdescriptors with the private key you want to import as part of the proper descriptor.

For example, if you wanted to import the p2wpkh address for a private key, you would make a descriptor of the form wpkh(<privkey>). Then use getdescriptorinfo to get the checksum and create wpkh(<privkey>)#<checksum>, and then use importdescriptors to import that descriptor
Or maybe you can still create a New Wallet and untick Descriptor Wallet.

Unfortunately wpkh returns the error Method not found (code -32601)

I have a seed phrase, can I somehow import it from electrum? Or convert to a suitable bitcoin core format
3  Bitcoin / Bitcoin Technical Support / Bitcoin core import p2wpkh on: August 15, 2022, 09:06:06 AM
Hi!
I ask for help with the import p2wpkh address from Electrum to Bitcoin core.


I use the command importprivkey ********* , but I get an error in response This type of wallet does not support this command (code -4)

I tried various options, but unfortunately it didn't work out to import. After spending a lot of time in Google, I realized that it was about some descriptors, but I do not know how to use and add them. And maybe it's not about them at all. Please help me.



Ubuntu 22.04.1 LTS
Linux 5.15.0-46-generic #49-Ubuntu
Client version: v23.0.0
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!