Bitcoin Forum

Bitcoin => Bitcoin Wallet for Android => Topic started by: p3terparker on February 05, 2014, 10:35:09 PM



Title: Compiling Android Wallet in Linux - Modifying Base58/43 (Advice Needed)
Post by: p3terparker on February 05, 2014, 10:35:09 PM
I'm trying to compile a clone of this wallet, but I'm not quite sure of the best way to do so.

I finally got the dogecoin wallet compiled, but I don't know how to change the base58 encoding. I'm not sure what the best approach is..

I'm currently editing Base43.java and trying to rotate the ALPHABET to match my network. I want to compile the wallet so that it generates

keys starting with something other than one. I have a general idea of how this java file flows but I am running into errors when I try to edit it.

Thank you


Title: Re: Compiling Android Wallet in Linux - Modifying Base58/43 (Advice Needed)
Post by: Andreas Schildbach on February 06, 2014, 08:31:57 AM
What do you have in mind?

Base43 is currently only used for encoding binary data into QR codes.

If you want to implement your network, you will most likely also need to fork and adapt bitcoinj.


Title: Re: Compiling Android Wallet in Linux - Modifying Base58/43 (Advice Needed)
Post by: Andreas Schildbach on February 07, 2014, 09:09:55 AM
I suggest heading over to the bitcoinj forum (https://bitcointalk.org/index.php?board=138.0) and start hacking on bitcoinj. Once you have your altcoin working in wallet-tool, you can start to adapt Bitcoin Wallet. Also take a look at the other altcoins (Litecoin etc.) as they have been through this process mostly.