Skip to main content

resolve_transaction_network_and_signer

Function resolve_transaction_network_and_signer 

Source
pub(crate) async fn resolve_transaction_network_and_signer(
    tempo: &TempoOpts,
    eth: &EthereumOpts,
) -> Result<(bool, Option<WalletSigner>, Option<TempoAccountsWallet>)>
Expand description

Resolves the transaction network and any configured signer without letting an unrelated Tempo Accounts store change ordinary Ethereum commands.

Explicit signer options are resolved with from cleared so the store fallback is not consulted. The fallback is only enabled when a Tempo transaction option is present or the RPC chain is a known Tempo chain.