Skip to main content

MakerTransactionSigner

Trait MakerTransactionSigner 

Source
pub trait MakerTransactionSigner: Send + Sync {
    // Required methods
    fn public_key(&self) -> &str;
    fn sign_transaction<'life0, 'life1, 'async_trait>(
        &'life0 self,
        transaction_base64: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

External maker-wallet adapter. Strata never accepts or stores its key.

Required Methods§

Source

fn public_key(&self) -> &str

Source

fn sign_transaction<'life0, 'life1, 'async_trait>( &'life0 self, transaction_base64: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§