MnemonicEncoderBase constructor

MnemonicEncoderBase(
  1. MnemonicLanguages language,
  2. MnemonicWordsListGetterBase wordsListGetter
)

Creates an instance of MnemonicEncoderBase.

The language parameter specifies the language used for the mnemonic words. The wordsListGetter is a helper class to retrieve the appropriate words list.

Implementation

MnemonicEncoderBase(
    MnemonicLanguages language, MnemonicWordsListGetterBase wordsListGetter)
    : wordsList = wordsListGetter.getByLanguage(language);