pub fn write_keypair<W: Write>( keypair: &Keypair, writer: &mut W, ) -> Result<String, Box<dyn Error>>
Writes a Keypair to a Write implementor with JSON-encoding
Keypair
Write