Skip to main content

maybe_signer

Function maybe_signer 

Source
pub async fn maybe_signer(
    wallet: &WalletOpts,
    chain_id: Option<u64>,
) -> Result<(Option<WalletSigner>, Option<TempoAccountsWallet>)>
Expand description

Resolves the signer and Tempo Accounts wallet selected by wallet, pinning the Tempo wallet to chain_id when given.

foundry-wallets only describes the Tempo wallet so that it does not link its own tempo-alloy; the wallet is built here with Foundry’s.