[][src]Trait solana_sdk::signature::KeypairUtil

pub trait KeypairUtil {
    fn new() -> Self;
fn pubkey(&self) -> Pubkey;
fn sign_message(&self, message: &[u8]) -> Signature; }

Required methods

fn new() -> Self

fn pubkey(&self) -> Pubkey

fn sign_message(&self, message: &[u8]) -> Signature

Loading content...

Implementors

impl KeypairUtil for Keypair[src]

fn new() -> Self[src]

Return a new ED25519 keypair

fn pubkey(&self) -> Pubkey[src]

Return the public key for the given keypair

Loading content...