pub trait Signer { // Required methods fn sign(&self, msg: &str) -> Result<Signature, Box<dyn Error>>; fn signer(&self) -> String; }