Trait KeypairUtil
solana_sdk::signature
pub trait KeypairUtil { fn new() -> Self; fn pubkey(&self) -> Pubkey; fn sign_message(&self, message: &[u8]) -> Signature; }
fn new() -> Self
fn pubkey(&self) -> Pubkey
fn sign_message(&self, message: &[u8]) -> Signature
impl KeypairUtil for Keypair
Return a new ED25519 keypair
Return the public key for the given keypair