ElectrumV2MnemonicEncoder constructor
ElectrumV2MnemonicEncoder(
- ElectrumV2MnemonicTypes mnemonicType, {
- ElectrumV2Languages language = ElectrumV2Languages.english,
Constructs an Electrum V2 mnemonic encoder with a specified mnemonic type and optional language.
The encoder is used to encode data into Electrum V2 mnemonics. It requires a mnemonicType
to determine the
type of Electrum V2 mnemonic to use, and an optional language
parameter to specify the language for encoding (default: English).
mnemonicType
: The type of Electrum V2 mnemonic to use for encoding.
language
: The language used for mnemonic encoding (default: English).
Implementation
ElectrumV2MnemonicEncoder(this.mnemonicType,
{ElectrumV2Languages language = ElectrumV2Languages.english})
: super(language, Bip39WordsListGetter());