LoomTxSigner

Trait LoomTxSigner 

Source
pub trait LoomTxSigner<N: NodePrimitives>:
    Send
    + Sync
    + Debug {
    // Required methods
    fn sign<'a>(
        &'a self,
        tx: TransactionRequest,
    ) -> Pin<Box<dyn Future<Output = Result<N::SignedTx>> + Send + 'a>>;
    fn sign_sync(&self, tx: TransactionRequest) -> Result<N::SignedTx>;
    fn address(&self) -> Address;
}

Required Methods§

Source

fn sign<'a>( &'a self, tx: TransactionRequest, ) -> Pin<Box<dyn Future<Output = Result<N::SignedTx>> + Send + 'a>>

Source

fn sign_sync(&self, tx: TransactionRequest) -> Result<N::SignedTx>

Source

fn address(&self) -> Address

Implementors§

Source§

impl LoomTxSigner<EthPrimitives> for TxSignerEth