Open Wallet Format (Converter for now)

I had a really hard time converting my Bitcoin-QT wallet.dat files to something that is possible to import to Multibit Wallet. (Not that hard but stupid to go all that way for something that should have been simple)
So I ended up writing a python program to do so from now on.

Github : https://github.com/shayanb/Open-Wallet-Format/

Open-Wallet-Format
Bitcoin Wallet Convertor (for now) 1.0

OWF.py reads the keys from Bitcoin-QT wallet (e.g wallet.dat) and exports them to MultiBit wallet format (e.g multibit.key) but also applicable for Blockchain.info imports

I used jackjack-jj fork of Pywallet.py (https://github.com/jackjack-jj/pywallet) to read wallet.dat and it is included in this repository. so you need to install the pywallet dependencies prior to the use of this.

Why should I use this?

To Convert your wallet.dat (or exported wallet from Bitcoin-QT) to:

  • MultiBit Wallet
  • Blockchain Importable format
  • Backup your private keys in a format that would not be as complicated as wallet.dat and less possible to be corrupted

WARNING: the output is not encrypted so take good care of the file!

Usage:
Usage: OWF.py [options]

Options:
–version show program’s version number and exit
-h, –help show this help message and exit
–wallet=Wallet                            wallet.dat or the exported wallet from Bitcoin-QT to be converted
–newwallet=NewWallet          New wallet name (multibit format) (in the same directory as the –wallet

Example

./OWF.py –wallet ./wallet.dat
./OWF.py –wallet ./wallet.dat ./newwallet.key

TODO

  • Less dependencies to pywallet.py
  • Add –passphrase to read encrypted wallet.dat
  • Nicer code! for now it works fine but it could be implemented in less hacky-code style
  • Should be tested on windows too (tested on Mac and Linux so far)
  • Add the other way around convertion
  • Define a standard for Bitcoin wallets (.OWF)

Support
Please support the work by either writing code or donating to 1owfJHTsWrrCpgaaYjC1vbJevuQzYRTYn
It would be greatly appreciated.

%d bloggers like this: