1

I'm upgrading my application from bitcoin core 21.0 to 23.0.

In core 21.0 I created a raw transaction and sign it with my private key after I called dumpprivkey RPC. At core 23.0 I received this error when I Called dumpprivkey:

This type of wallet does not support this command

How can I sign my transaction with my private key?

1 Answer 1

2

It's currently not possible to export private keys from descriptor wallets.

I don't think you needed to dump the key first in the first place, though. As far as I can tell, signrawtransactionwithwallet should do exactly what you're looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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