This is a tool for decrypting and exporting bitcoinj wallet private keys. This only works with non deterministic keys that were manually added to the wallet, and does not work for deterministic keys created from a seed.
There are plenty of tools already available for working with HD wallets, but I created this specifically for exporting old Hive wallets, as Hive ceased operations in April of 2016. I recently found an old hive wallet backup, and had no means of recovering the encrypted private key, so I wrote this small utility. Hive used bitcoinj and this tool does as well for compatibility.
This has only been minimally tested on OS X for my single use case, but there should be nothing keeping it from running under Windows or Linux.
- clone this repo
- Install Maven
cd <repo path>
./build.sh
- If you're trying to recover keys from a Hive wallet, first search your system for the wallet file
bitcoinkit.wallet
. - To print a list of address/private key pairs, do the following.
./run.sh <wallet path> <decryption password>
- You can then copy the private keys and import them into the wallet of your choosing.
- Be sure to close the terminal after use to prevent leaking your private keys.
If you found this useful, please consider donating to this bitcoin address: 3DN4DzVw5VooRpdkknFiN9MYw4Edr1XdsL