pub fn verify_signature(
    public_key: PublicKey,
    signature: String,
    message: String
) -> bool
Expand description

Verify a signature of a message, which is signed by the given publicKey

Note : It only supports Ed25519 publicKeys, as the verifier for the Secp256k1 keys, would larger up the contract and it would not be practical