algorand_mnemonic_decoder

Module for Algorand mnemonic decoding. Reference: https://github.com/algorand/py-algorand-sdk

class AlgorandMnemonicDecoder(lang: Optional[AlgorandLanguages] = AlgorandLanguages.ENGLISH)

Bases: MnemonicDecoderBase

Algorand mnemonic decoder class. It decodes a mnemonic phrase to bytes.

Decode(mnemonic: Union[str, Mnemonic]) bytes

Decode a mnemonic phrase to bytes (no checksum).

Parameters:

mnemonic (str or Mnemonic object) – Mnemonic

Returns:

Decoded bytes

Return type:

bytes

Raises:
m_lang: Optional[MnemonicLanguages]
m_words_list: Optional[MnemonicWordsList]
m_words_list_finder_cls: Type[MnemonicWordsListFinderBase]