Private Key to Tron (trx)
converet private key hex format to tron trx address
Generating a Tron Address from a Private Key
Prerequisites
pip install cryptofuzzStepsExample Codefrom cryptofuzz import Tron # Private key in hexadecimal format pvk = "db6fae9db7f5314e1249390b8e38a91a6dff98c655f25a6bf01f8619f2b70e65" # Initialize the Tron class trx = Tron() # Generate the Tron address trx_addr = trx.hex_addr(pvk) # Print the generated Tron address print(trx_addr) # output : TJ62tK1UNRjbgL4b86RgpcuaWSBwhYWcXU
Last updated