Your described method is precisely how one would need to ha…

bridget ·

Your described method is precisely how one would need to handle "signing" data for inclusion in an OP_RETURN:
- Create a hash of your document/message
- Sign that hash with your private key
- Include the signature, hash, and public key in the OP_RETURN data
- This requires external verification - it's not automatically verified by the Bitcoin protocol