Created
August 17, 2016 02:48
-
-
Save JimmyMow/5e8509b1e54bd315ed9609e68c2fa48c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from two1.wallet import Two1Wallet | |
with open('{}/.two1/wallet/default_wallet.json'.format(expanduser('~'))) as data_file: | |
wallet_data = json.load(data_file) | |
wallet = Two1Wallet.import_from_mnemonic(mnemonic=wallet_data['master_seed']) | |
history = wallet.transaction_history() | |
print(history) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment