Post
Topic
Board Mycelium
Re: Mycelium Bitcoin Wallet
by
Jan
on 24/09/2014, 19:09:37 UTC
Hi guys, I was having a little trouble working out a nice, safe way to get my private keys out of the data.xml for importation back into Mycelium. I think I could have used bitaddress.org but I decided to write something to do it for me. I'm letting it out to the public in case anyone else might find it useful (it also might be interesting to study for other purposes). It must be run in the same directory as the data.xml and it will spit out a list of the public, private and WIF encoded keys to the terminal and will create a webpage with the public and private keys listed on it as QR codes ready for scanning (I would recommend using a browser on the local filesystem to open it and not having it on a live web server (unless you're totally internet disconnected and probably not even then)).

This may be useful for creating a paper backup even. You may want to increase the level of the QR code in that case. Currently set to "L" for low.

Pretty cool stuff  Wink

With Mycelium 2.0 we migrate away from using data.xml and store stuff in a sqlite database instead, so there will be a bit of coding to get it out going forward.