Skip to main content

sign_with_wallet

Function sign_with_wallet 

Source
async fn sign_with_wallet(
    wallet: &EthereumWallet,
    sender: Address,
    tx: &mut dyn SignableTransaction<Signature>,
) -> Result<Signature>
Expand description

Helper function to sign a transaction using the wallet’s signer for the given sender address.