bip/ton/ton library

Classes

TomMnemonicValidator
The TomMnemonicValidator class provides methods for validating TON (The Open Network) mnemonic phrases. It ensures the mnemonic meets the required criteria for word count and checks if a passphrase is needed or if it is a basic seed.
TonEntropyGeneratorUtils
The TonEntropyGeneratorUtils class provides utility methods for handling entropy generation and validation related to the TON (The Open Network) blockchain. It includes methods to determine if a given entropy corresponds to a basic seed, a password-protected seed, and if a password is required based on a mnemonic phrase.
TonMnemonicEncoder
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.
TonMnemonicEntropyGenerator
The TonMnemonicEntropyGenerator class extends EntropyGenerator to provide specific entropy generation functionalities tailored for TON mnemonic phrases.
TonMnemonicGenerator
The TonMnemonicGenerator class is responsible for generating BIP-39 mnemonic phrases either from a specified number of words or directly from entropy bytes.
TonMnemonicGeneratorUtils
The TonMnemonicGeneratorUtils class provides utility methods for validating the number of mnemonic words and calculating the corresponding bit length.
TonMnemonicLanguages
The TonMnemonicLanguages class implements the Bip39Languages interface to provide support for BIP-39 mnemonic languages, specifically tailored for TON (The Open Network).
TonSeedGenerator
The TonSeedGenerator class is responsible for generating a seed from a mnemonic phrase. It can optionally validate the mnemonic according to TON specifications and use a passphrase.