Have you tried wallet-tool? Use it like this to output all the private
keys in WIF format too:
./wallet-tool dump --wallet=your.wallet --dump-privkeys
On 09/27/2016 07:13 PM, Yvon Fortier wrote:
> Hi Andreas, thanks for the reply.
>
> The problem is that I had the great idea of sending an onmi token to an
> address at MultibitHD.
>
> So now, to take it out, I need access to that address' private key.
>
> I tried exporting the deterministic extended private key (master xprv)
> modifying the source for MultibitHD, can't get it working.
> Another option would be finding the correct derivation path for MBHD,
> but I've been through all the documentation I can find, tried several
> options and wasn't able to derive addresses I see on MBHD.
>
> I used wallet-tool.jar to get dump the wallet. It gives me the MasterKey
> in hex, which I don't know how to import.
> Full paste here:
> *
> *
http://pastebin.com/3aEDSV4q*
> *
> * network_identifier: "org.bitcoin.production"*
> **
> *key {*
> **
> * type: DETERMINISTIC_MNEMONIC*
> **
> * secret_bytes: "unknown liberty blind legend online wing blush eternal
> develop category ski please"*
> **
> * creation_timestamp: 1381276800000*
> **
> * deterministic_seed: "\310
> &b\301\337PX\263\335\337\262@\204\021\333\366Z\315\033\3014jl\001Ub\030\312\357\271\353\267i\211\026\031\331\366\vA\255\025\321\033e\370(\352aa\f<\315\240!R7\252M\227:\372a"*
> **
> *}*
> **
> *key {*
> **
> * type: DETERMINISTIC_KEY*
> **
> * secret_bytes: "\267\344\v\335i\364d\360\'\267\265\361P\2121
> <\005\342\245\346F\272\302+\315\037o\240\244\2732"*
> **
> * public_key:
> "\002\234Q\245\251-\2164~\202\2752a\v}\250k=\375\334\345H\244\230YY\365\'\024\317N\262\352"*
> **
> * creation_timestamp: 1381276800000*
> **
> * deterministic_key {*
> **
> * chain_code:
> "\025\303\361ms\334[\340\004\236\350%\265\361\021;\240\337T4M\316mcc`\254pT\260t."*
> **
> * }*
> *}
>
> *I could try using those secret bytes to import into NBitcoin, which I
> know how to use, but I can't convert them to hex.
>
> Thanks for any help.
> **