solana_sdk::signer::keypair

Function write_keypair_file

source
pub fn write_keypair_file<F: AsRef<Path>>(
    keypair: &Keypair,
    outfile: F,
) -> Result<String, Box<dyn Error>>
Expand description

Writes a Keypair to a file with JSON-encoding