Bitcoin Forum

Bitcoin => Project Development => Topic started by: templar77 on January 21, 2014, 07:34:45 PM



Title: How to fork bitaddress.org?
Post by: templar77 on January 21, 2014, 07:34:45 PM
Hi, I've been trying to change Bitaddress code to make a multi bitcoin and altcoins paper wallet generator in the same site, but I can't make it work.

https://github.com/litecoin-project/liteaddress.org/commit/ab41e7e2947e54a87d0941321f86b6d350b79819

I know src/bitcoinjs-lib.eckey.js is the important file but i don't know how to change the parameters.
Any help will be apreciated.
Thanks


Title: Re: How to fork bitaddress.org?
Post by: virtualmaster on January 22, 2014, 01:26:28 PM
You need to set the network parameter for each altcoin.
Look on my Bitcoin - Namecoin merged wallet and you will understand it easier.


Title: Re: How to fork bitaddress.org?
Post by: sx1234 on March 15, 2014, 01:34:29 AM
I'm interested in doing this same thing.  Anyone have any advice on the process of forking this for an altcoin?


Title: Re: How to fork bitaddress.org?
Post by: BombaUcigasa on March 15, 2014, 09:24:54 AM
The answer is in line 231 and 239 of src/bitcoinjs-lib.eckey.js

Of course you need to change all the other lines above and maybe expand the JS to change more of the HTML.

You can choose your multicurrency selector to work on specific keywords or just allow free prefix selection.

This is of course pretty useless (you can use vanitygen and the coin client anyway) without Mycellium or a similar paper-aware mobile app for safe cold-storage spending.

So we need to fork Mycellium and their server infrastructure :)