Function safecoin_clap_utils::keypair::keypair_from_path[][src]

pub fn keypair_from_path(
    matches: &ArgMatches<'_>,
    path: &str,
    keypair_name: &str,
    confirm_pubkey: bool
) -> Result<Keypair, Box<dyn Error>>
Expand description

Parses a path into a SignerSource and returns a Keypair for supporting SignerSourceKinds