glethers/signer
Types
Functions
pub fn sign_message(
private_key: PrivateKey,
message: String,
) -> Signature
pub fn sign_typed_data(
private_key: PrivateKey,
domain: TypedDataDomain,
struct: a,
encoder: fn(a) -> #(String, List(#(String, ComplexField))),
) -> Signature
pub fn verify_signature(
private_key: PrivateKey,
message: String,
signature: Signature,
) -> Bool