Function solana_sdk::signer::keypair::keypair_from_seed_and_derivation_path[][src]

pub fn keypair_from_seed_and_derivation_path(
    seed: &[u8],
    derivation_path: Option<DerivationPath>
) -> Result<Keypair, Box<dyn Error>>
Expand description

Generates a Keypair using Bip32 Hierarchical Derivation if derivation-path is provided; otherwise generates the base Bip44 Solana keypair from the seed