installing package in windows :
pip install blockthon
installing on Linux / debian:
sudo apt-get install -y autoconf automake build-essential libffi-dev libtool pkg-config python3-dev
pip3 install blockthon
Generated and convert Private Key Hex To Mnemonic with Blockthon
in python:
from Blockthon.Wallet import PrivateKey, PrivateKey_To_Mnemonics
# generated random private key hex without any repeat
privatekey = PrivateKey()
# convert Private Key (hex) to Mnemonic word's
mnemonicWords = PrivateKey_To_Mnemonics(privatekey)
Top comments (0)