Last active
January 8, 2018 20:28
-
-
Save loredanacirstea/7921f564ad1a979b7d8f5da3ca819d9e to your computer and use it in GitHub Desktop.
privatekey from keyfile
This file contains 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
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