Skip to content

Instantly share code, notes, and snippets.

@JonasPf
Created February 8, 2017 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JonasPf/788f6504393bff4a548065244e603561 to your computer and use it in GitHub Desktop.
Save JonasPf/788f6504393bff4a548065244e603561 to your computer and use it in GitHub Desktop.
Bitcoin hex address to base58check
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