1 unstable release
new 0.1.0 | Jan 28, 2025 |
---|
#1 in #signers
Used in 4 crates
(3 directly)
26KB
60 lines
EIP712 signed message
This crate contains the EIP712SignedMessage
struct which is used to sign and verify messages
using EIP712 standard.
Example
use tap_eip712_message::Eip712SignedMessage;
let signed_message = Eip712SignedMessage::new(&domain_separator, message, &wallet).unwrap();
let signer = signed_message.recover_signer(&domain_separator).unwrap();
assert_eq!(signer, wallet_address);
Dependencies
~9MB
~164K SLoC