TonMnemonicEncoder class
The TonMnemonicEncoder class extends MnemonicEncoderBase to provide functionality for encoding entropy bytes into a BIP-39 mnemonic phrase, specifically tailored for the TON (The Open Network) blockchain.
- Inheritance
-
- Object
- MnemonicEncoderBase
- TonMnemonicEncoder
Constructors
- TonMnemonicEncoder([TonMnemonicLanguages language = TonMnemonicLanguages.english])
- Constructor initializes the encoder with a specified language for the mnemonic. Defaults to English if no language is specified.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wordsList → MnemonicWordsList
-
The list of words used for encoding.
finalinherited
Methods
-
encode(
List< int> entropyBytes) → Bip39Mnemonic -
Overrides the encode method to convert entropy bytes into a BIP-39 mnemonic phrase.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited