account_from_seed

Function account_from_seed 

Source
pub fn account_from_seed(seed: &str) -> Result<Keypair>
Expand description

Load account from seed phrase or secret URI

Supports:

  • Secret URI format (e.g., //Alice)
  • BIP39 mnemonic phrases