Skip to content

From entropy, BIP84 #110

Answered by meherett
pbies asked this question in Q&A
Dec 30, 2024 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Hello @pbies,

In Version 3, the from_entropy and from_mnemonic root functions are not available in all HD classes. Instead, the root function starts with from_seed. To use entropy or a mnemonic, you need to convert them into a seed first.

For further details: https://github.com/talonlab/python-hdwallet/blob/master/clients/bip84.py#L50

Alternatively, if you prefer to use from_entropy and from_mnemonic directly, consider using the HDWallet class instead of the specific HD classes.

See this example: https://github.com/talonlab/python-hdwallet/blob/master/examples/BIPs/from_entropy.py

Thanks!

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by pbies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pbies
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants