Function solana_sdk::signature::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>>
Generates a Keypair using Bip32 Hierarchical Derivation if derivation-path is provided; otherwise builds standard Keypair using the seed as SecretKey