Skip to main content

Documentation Index

Fetch the complete documentation index at: https://hedera-0c6e0218-mintlify-enhance-hollow-account-docs-97196.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Recover private keys from a mnemonic phrase.
MethodTypeDescription
PrivateKey.fromMnemonic(<mnemonic>)MnemonicRecover a private key from a mnemonic phrase compatible with the iOS and Android wallets
PrivateKey.fromMnemonic(<mnemonic, passphrase>)Mnemonic. StringRecover a private key from a generated mnemonic phrase and a passphrase
//Use the mnemonic to recover the private key
PrivateKey privateKey = PrivateKey.fromMnemonic(mnemonic);
PublicKey publicKey = privateKey.publicKey();

//v2.0.0