For an absolute beginner, how do I sign the new adress formats (taproot e.g.)? In Ride the Lightning (RTL) there is the possiblity to sign messages for lightning.
But I need to sign from a specific onchain adress. I also tried bitcoin-cli signmessage <adr> <msg>
but this did neither work for a taproot adress nor for a Bech32 address (both generated from RTL).
The error message returned is
error code: -32601
error message:
Method not found
which somehow seems like the signmessage command is unkown?
I also found this thread. However I am currently unaware where to get the private key from for the suggested solution signmessagewithprivkey
I tried bitcoin-cli dumpprivkey <adr>
which resulted in the same error as above (Method not found).