Generated Random Mnemonic And Convert To Private Key HEX
Last updated 1 year ago
for generated private key from mnemonic with blockthon
From Blockthon.Wallet import PrivateKey_From_RootKey, Mnemonic_To_RootKey, getMnemonic # Generated Random Mnemonic With 12 word mnemonicword = getMnemonic(12) # convert to xprv (root key) rootkey = Mnemonic_To_RootKey(mnemonicword) # Convert root key to private key privatekey = PrivateKey_From_RootKey(rootkey)