Published: 30 Mar 2018 › Updated: 30 Mar 2018

Decode ethereum's account keystore file by Python
Step 1:
pip install web3 //my web3 version is 3.16.5
pip install ethereum
Step 2:
import ethereum.tools.keys as keys
with open(keystorepath) as file_object:
contents = file_object.read()
privatekey = keys.decode_keystore_json(json.loads(contents),accountpassword)
Now you can sendRawTransaction with privatekey
Leave Decode ethereum's account keystore file by Python to:
Read more #python3 posts
Best Posts From wanghuangang
We have not curated any of wanghuangang's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.