Skip to content

mnemonicAccount

mnemonicAccount(mnemonicSecret): Account

Defined in: src/account/mnemonic-account.ts:14

Parameters

mnemonicSecret

string

The mnemonic secret representing the private key of an account; Note: Be careful how the mnemonic is handled, never commit it into source control and ideally load it from the environment (ideally via a secret storage service) rather than the file system.

Returns

Account