Cross-posting from dev forum for more visibility.
https://bkchain.org/ppc/wallet
Well, the title says most of it!
I was trying over the last few weeks to implement HD wallet (electrum-like).
So far, it works for PPC, LTC, BTC.
I suppose that makes it one of the first client-side web wallet for peercoin!
USE AT YOUR OWN RISK! IT IS STILL A VERY EARLY ALPHA, ONLY FOR TESTING PURPOSE. NO RESPONSABILITY!
That said, it seems to works well enough for basic case (but many corner cases are maybe not covered well).
A few notes:
[ul][li]Full Hierarchical Deterministic wallet with both receiving and change address.[/li]
[li]It will fetch as many as necessary to have empty ones. Used address will be striked.[/li]
[li]Sign and send transaction from your browser. It will automatically gather unspent outputs from your various receiving/change addresses.[/li]
[li]Seed are electrum-compatible. That is, for BTC it should generate same addresses.[/li]
[li]Client side encryption. Nothing stored on server. Client signs transactions and push them through API. This should help avoid many usual vectors of attacks.[/li]
[li]Feel free to review the code (security, etc…). Many of the used javascript libraries are known, and the important part is happening in wallet.js.[/li]
[li]I need to add https. In the meantime it’s probably OK, since encryption/signing is javascript client-side only, outside people can’t see more than your API address/balance requests.[/li][/ul]
Testing & feedback welcome! Don’t forget, it’s a very early release.
Donation appreciated.
Enjoy!
Special thanks to carbonwallet, brainwallet & bip32.
Created a github webpage: https://github.com/bkchain
[ul][li]Issues/requests/bug reports go there.[/li]
[li]As soon as I get around it, that’s where I plan to put sources.[/li][/ul]