Supports P2TR (Taproot) signing and verification, P2WPKH verification,
and legacy P2PKH verification (Bitcoin Core signmessage format).
Reuses the same toSpend/toSign transaction construction as Intent proofs,
but with the standard BIP-322 tagged hash ("BIP0322-signed-message")
instead of the Ark-specific tag.
BIP-322 simple message signing and verification.
Supports P2TR (Taproot) signing and verification, P2WPKH verification, and legacy P2PKH verification (Bitcoin Core signmessage format).
Reuses the same toSpend/toSign transaction construction as Intent proofs, but with the standard BIP-322 tagged hash ("BIP0322-signed-message") instead of the Ark-specific tag.
See
https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki
Example