Skip to content

Instantly share code, notes, and snippets.

@sjoerd-dijkstra
Created February 26, 2018 09:23
Show Gist options
  • Save sjoerd-dijkstra/be6f142239f7ec5b3ce44a0edb07db47 to your computer and use it in GitHub Desktop.
Save sjoerd-dijkstra/be6f142239f7ec5b3ce44a0edb07db47 to your computer and use it in GitHub Desktop.
## Address to get all EFX tokens XD
byte_array = b'\xfd\x95F\xc1\x0eh\xaa?\xc1,\x0f\xcd\x07\xf4\xb7\xe3\x19\xb1\xd9\xd6'
int_list = list(byte_array)
print ("Length of byte array is {}".format(len(int_list)))
print ("{")
for int_byte in int_list:
print ("(byte) {},".format(int_byte))
print ("};")
# for byte in list(temp):
# print byte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment