Crates.io | verify-keplr-sign |
lib.rs | verify-keplr-sign |
version | 0.1.0 |
source | src |
created_at | 2023-01-09 14:14:58.794329 |
updated_at | 2023-01-09 14:14:58.794329 |
description | Verify keplr arbitrary signature |
homepage | |
repository | https://github.com/MartianGreed/rust-verify-keplr-signature |
max_upload_size | |
id | 754558 |
size | 5,926 |
Usage:
let signature: Signature = serde_json::from_str(your_serialized_signature_from_keplr);
let is_signature_ok = verify_arbitrary(wallet_pubkey, signature.pub_key.sig_value, b"your expected signed data", &signature);