Sign a message using the BIP-322 simple signature scheme.
Constructs the standard BIP-322 toSpend and toSign transactions, signs via the Identity interface, and returns the base64-encoded witness stack.
The message to sign
Identity instance (holds the private key internally)
Optional
Optional Bitcoin network for P2TR address derivation
Base64-encoded BIP-322 simple signature (witness stack)
Sign a message using the BIP-322 simple signature scheme.
Constructs the standard BIP-322 toSpend and toSign transactions, signs via the Identity interface, and returns the base64-encoded witness stack.