solana_sdk::signer::keypair

Function read_keypair_file

source
pub fn read_keypair_file<F: AsRef<Path>>(
    path: F,
) -> Result<Keypair, Box<dyn Error>>
Expand description

Reads a Keypair from a file