Created
February 8, 2017 20:57
-
-
Save JonasPf/788f6504393bff4a548065244e603561 to your computer and use it in GitHub Desktop.
Bitcoin hex address to base58check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import binascii | |
import base58 | |
import sys | |
string = sys.argv[1] | |
hex_values = binascii.unhexlify(string) | |
print(base58.b58encode_check(hex_values)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment