Skip to content

A tool for decrypting and exporting bitcoinj wallet private keys

License

Notifications You must be signed in to change notification settings

JesseCorrington/bitcoinj-wallet-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoinj-wallet-export

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.

Setup

  1. clone this repo
  2. Install Maven
  3. cd <repo path>
  4. ./build.sh

Usage

  1. If you're trying to recover keys from a Hive wallet, first search your system for the wallet file bitcoinkit.wallet.
  2. To print a list of address/private key pairs, do the following. ./run.sh <wallet path> <decryption password>
  3. You can then copy the private keys and import them into the wallet of your choosing.
  4. 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

About

A tool for decrypting and exporting bitcoinj wallet private keys

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published