sign Message
Sign the passed message with the passed address (which must be owned by this wallet) using Bitcoin-style message signing.
Return
signature as bytes
Parameters
message
What to sign
addr
sign with this address. If null, the wallet's common identity is used.
Sign the passed message with the passed address (which must be owned by this wallet) using Bitcoin-style message signing.
This signed message is not usable inside contracts (instead use signData). It is for traditional human-readable message signing by a coin holder.
Return
signature in base64 encoding
Parameters
message
What to sign
addr
sign with this address. If null, the wallet's common identity is used.