Skip to content

Instantly share code, notes, and snippets.

@JimmyMow
Last active January 22, 2016 01:40
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/5819679f4dd24b0b8b6c to your computer and use it in GitHub Desktop.
Save JimmyMow/5819679f4dd24b0b8b6c to your computer and use it in GitHub Desktop.
Can't seem to create a wallet account
from two1.lib.wallet import Wallet, exceptions
wallet = Wallet()
try:
wallet.create_account('signing')
print("successfully created account")
except exceptions.AccountCreationError:
print("failed to create account")
pass
acct = wallet._check_and_get_accounts(['signing'])
print(acct)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment