Skip to content

Instantly share code, notes, and snippets.

@voith
Created September 22, 2021 18:34
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 voith/e1b186c391206edc60c219980538b039 to your computer and use it in GitHub Desktop.
Save voith/e1b186c391206edc60c219980538b039 to your computer and use it in GitHub Desktop.
Eth-Tester Private Key Workaround
from eth_account import Account
from eth_tester.backends.pyevm.main import get_default_account_keys
acc = Account.from_key(get_default_account_keys()[0])
print(acc.key)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment