Created
May 21, 2016 10:44
-
-
Save F483/202e06aa6c627a9b6dcda9156c28a6d7 to your computer and use it in GitHub Desktop.
Recover first wif from hwif wallet.
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
#!python | |
# coding: utf-8 | |
# requires btctxstore `pip install btctxstore` | |
import sys | |
from btctxstore import BtcTxStore | |
HELP_TEXT = """ | |
Usage: {0} <wallet> | |
""".format(sys.argv[0]) | |
if len(sys.argv) == 1: | |
print(HELP_TEXT) | |
else: | |
wallet = sys.argv[1] | |
btctxstore = BtcTxStore() | |
print(btctxstore.get_key(wallet)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment