As promised here is my tool for recovering bitcoins from blockstack-client (an abandoned Python2 wallet software that's difficult to install and extract keys from anymore) wallets called
blockstack_recover (
PyPI) (
Github). It takes a blockstack-client wallet.json file, and decides it into the private keys that it uses to receive payments. Then you can import them into another wallet software to access your bitcoins.
While blockstack-client was a Python 2-only wallet, whose source code is no longer on Github, this tool works only on Python 3+, and has minimum dependencies to reduce the risk of malicious Python libraries being pulled.
Installation:
pip install blockstack_recoverRunning:
Find the path to your
unencrypted wallet.json (the tool does not work with encrypted wallet.json), and run:
blockstack_recover extract wallet.jsonIf you only have an encrypted wallet.json, decrypt it first using:
blockstack_recover decrypt wallet.json decrypted-wallet.jsonAnd supply your password to it. The program can't help you if you don't remember your password.
The unencrypted wallet.json is a JSON File that only has the keys "master_private_key" with a long hexadecimal number and "wallet_password", the wallet password in plain-text.
If you have any bitcoins inside a blockstack-client wallet, please move them off now.
Never give anybody your wallet.json, even if it's encrypted. I have discovered that passwords can be brute-forced using the AES256 encryption code in the blockstack-client. This can be devastating if used with hardware acceleration like PyCUDA.If there is enough support I will make a tool that decrypts an encrypted wallet.json file, that'll be useful as well. Done!