solana_sdk::signer::keypair

Function write_keypair

source
pub fn write_keypair<W: Write>(
    keypair: &Keypair,
    writer: &mut W,
) -> Result<String, Box<dyn Error>>
Expand description

Writes a Keypair to a Write implementor with JSON-encoding