Skip to content

Instantly share code, notes, and snippets.

@JimmyMow
Created August 17, 2016 02:48
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 JimmyMow/5e8509b1e54bd315ed9609e68c2fa48c to your computer and use it in GitHub Desktop.
Save JimmyMow/5e8509b1e54bd315ed9609e68c2fa48c to your computer and use it in GitHub Desktop.
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