pypergraph.keystore.bip_helpers package¶
Submodules¶
pypergraph.keystore.bip_helpers.bip32_helper module¶
- class pypergraph.keystore.bip_helpers.bip32_helper.Bip32Helper[source]¶
Bases:
object- get_private_key_from_seed(seed: bytes, path="m/44'/1137'/0'/0")[source]¶
Derive the private key from a seed entropy using derived path.
- Parameters:
seed – The seed in bytes format.
path – The derivation path.
- Returns:
The private key as a hexadecimal string.
pypergraph.keystore.bip_helpers.bip39_helper module¶
- class pypergraph.keystore.bip_helpers.bip39_helper.Bip39Helper(words: int = 12, language: str = 'english')[source]¶
Bases:
objectGenerate 12 or 24 words and derive entropy
- LANGUAGES = ('english', 'chinese_simplified', 'chinese_traditional', 'french', 'italian', 'japanese', 'korean', 'spanish', 'turkish', 'czech', 'portuguese')¶