Skip to content

Instantly share code, notes, and snippets.

@loredanacirstea
Last active January 8, 2018 20:28
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 loredanacirstea/7921f564ad1a979b7d8f5da3ca819d9e to your computer and use it in GitHub Desktop.
Save loredanacirstea/7921f564ad1a979b7d8f5da3ca819d9e to your computer and use it in GitHub Desktop.
privatekey from keyfile
import sys
from pyethapp.accounts import Account
if __name__ == '__main__':
path = sys.argv[1]
account = Account.load(path)
print("GIVF ME ALL YOUR SECRET CODEZ:")
account.unlock(raw_input())
print account.privkey.encode('hex')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment