Bytes To WIF
convert bytes seed to wif
Generated Bytes and Convert To WIF
Generated and Convert Bytes To WIF Compressed:
from Blockthon.Wallet import getBytes, Bytes_To_Wif
# generated random bytes without repeat
bytes_str = getBytes()
# Convert Bytes To WIF Compress:
WifCompress = Bytes_To_Wif(bytes_str, compressed=True)Generated and Convert Bytes To WIF UnCompressed:
from Blockthon.Wallet import getBytes, Bytes_To_Wif
# generated random bytes without repeat
bytes_str = getBytes()
# Convert Bytes To WIF Compress:
WifCompress = Bytes_To_Wif(bytes_str, compressed=False)Last updated