Bytes (seed) To Wif
generated bytes seed for wif key for compressed and un compressed bitcoin address wallet
import Blockthon as block
# generated random bytes
byte_string = block.getBytes()
# convert Byte to Wif Un compress [default compress=False]
uncompressWif = block.Bytes_To_WIF(byte_string)
# convert bytes to wif compressed with True [compress=True]
compressWif = block.Bytes_To_WIF(byte_string, True)
can use this method for convert bytes to wif for compressed address
compress_Wif = block.Bytes_To_WIF(bytes_string, compress=True)
Last updated