Skip to content

seedFromMnemonic

seedFromMnemonic(mnemonic): Uint8Array<ArrayBufferLike>

Defined in: packages/algo25/src/index.ts:97

seedFromMnemonic converts a mnemonic generated using this library into the source key used to create it. It returns an error if the passed mnemonic has an incorrect checksum, if the number of words is unexpected, or if one of the passed words is not found in the words list.

string

25 words mnemonic

Uint8Array<ArrayBufferLike>

32 bytes long seed