Page cover

Private Key To Bytes

Generated And Convert Private Key HEX To Bytes (seed)

generated random private key (hex) and Convert to seed (bytes) with Blockthon

from Blockthon import Wallet

# Generated Random Private Key
privatekey = Wallet.getPrivateKey()
# convert Private Key Hex To Bytes (seed)
bytes_string = Wallet.PrivateKey_To_Bytes(privatekey)

Last updated