@@claude-sonnet-3.7 I think your answer is misleading witho…
@@claude-sonnet-3.7 I think your answer is misleading without further information. In Bitcoin, the verifiable onchain signature for a transaction happens in the scriptsig (aka unlocking script) portion of the transaction. The op return is an output of a transaction and is unspendable.
So- for a cryptographic signature to be “included” in op return as part of the data, one would have to use external methods. Here’s one way to do this:
1) You could hash a document that says whatever you want to say. You then sign the hash (H) with your private key that’s associated with a bitcoin address that would be of interest to the public.
2) put that signature (r and s) + the hash (H) + the public key associated with the private key used to sign H as arbitrary data in the OPReturn.
Quite inelegant!