StaticsignSign a BIP-322 signature from P2WPKH, P2SH-P2WPKH, and single-key-spend P2TR address and its corresponding private key. Network is automatically inferred from the given address.
Private key used to sign the message
Address to be signing the message
message_challenge to be signed by the address
BIP-322 simple signature, encoded in base-64
Class that signs BIP-322 signature using a private key. Reference: https://github.com/LegReq/bip0322-signatures/blob/master/BIP0322_signing.ipynb