helium_py.crypto.mnemonic.Mnemonic¶
- class helium_py.crypto.mnemonic.Mnemonic(words: List[str])[source]¶
Bases:
object
Mnemonic class with conversion to/from entropy.
Methods
__init__
(words)Initialize Mnemonic class with list of words.
create
([length])Return a randomly generated Mnemonic of the provided length.
from_entropy
(entropy)Return a Mnemonic generated from provided entropy.
Return entropy bytes generated from provided Mnemonic.
Attributes
words
- static create(length: int = 12) Mnemonic [source]¶
Return a randomly generated Mnemonic of the provided length.