Wednesday, November 15, 2017

How to get bitcoin cash out of Multibit HD

Get the keys

Multibit HD is no longer being actively developed, but you can extract your private keys to use in another wallet. KeepKey built a tool to extract these keys, but it didn't work for me, so I built my own: Octobit


You need to have python installed, and the libraries in the requirements.txt file. If you're in Windows, get WSL and get python running there! Otherwise, you'll need to install python and pip, and then install MSVC for python. Once you've done this, install the requirements and we're good to go

Using octobit

To export your keys, find your wallet file (~/Library/Application Support/MultiBitHD/<wallet-id>/mbhd.wallet.aes on OSX, or C:\Users\<username>\AppData\Roaming\MultiBitHD\<wallet-id>\mbhd.wallet.aes on Windows), and open it up on the commandline:

These are your wallet words - keep these secret! These allow anyone to spend your bitcoins - or your bitcoin cash.

Get the BCH

If you had bitcoins in this wallet before the Bitcoin Cash fork, then you'll have an equal amount of BCH sitting there. Let's load the wallet in ElectronCash so that we can get access to them. I couldn't get the latest version of ElectronCash working on Windows, but I can confirm this all works under OSX - you need to choose to import a wallet, paste in the wallet words as a BIP39 seed, and then set m/0' as the path (watch the apostrophe) - and then watch your BCH turn up!