solana_remote_wallet::ledger

Function get_ledger_from_info

source
pub fn get_ledger_from_info(
    info: RemoteWalletInfo,
    keypair_name: &str,
    wallet_manager: &RemoteWalletManager,
) -> Result<Rc<LedgerWallet>, RemoteWalletError>
Expand description

Choose a Ledger wallet based on matching info fields