Function write_keypair_file

Source
pub fn write_keypair_file<F>(
    keypair: &Keypair,
    outfile: F,
) -> Result<String, Box<dyn Error>>
where F: AsRef<Path>,
Available on crate feature full only.
Expand description

Writes a Keypair to a file with JSON-encoding