pub trait Signer: Send + Sync {
// Required methods
fn address(&self) -> &str;
fn sign(
&self,
request: &SignRequest,
) -> Result<TxWitness, Box<dyn Error + Send + Sync>>;
}Expand description
A signer capable of producing TRP witnesses.
Signers are address-aware and must return the address they correspond to.