pub fn write_keypair_file<F>( keypair: &Keypair, outfile: F, ) -> Result<String, Box<dyn Error>>where F: AsRef<Path>,
full
Writes a Keypair to a file with JSON-encoding
Keypair