Live data from Hacker News

How to build a Bitcoin Wallet

helloblock.io

1–10 of 17 posts

Re: How to build a Bitcoin Wallet

#3
Initially did not see anything thanks to Ghostery + RequestPolicy. Since all the JavaScript disablers tend to trigger the haterade dispensers, I also checked to see whether or not they had anything in place for the search bots:

https://www.google.com/#q=site:helloblock.io+how+to+build+a+...

  > Your search - site:helloblock.io how to build a bitcoin wallet - 
  > did not match any documents. 
Too bad, as 'building a bitcoin wallet' is certainly worth ranking for (and the content is certainly high quality)!

Re: How to build a Bitcoin Wallet

#4
post #3

Initially did not see anything thanks to Ghostery + RequestPolicy. Since all the JavaScript disablers tend to trigger the haterade dispensers, I also checked to see whether or not they had anything in place for the search bots: https://www.google.com/#q=site:helloblock.io+how+to+build+a+... > Your search - site:helloblock.io how to build a bitcoin wallet - > did not match any documents. Too bad, as 'building a bitcoi…

Building static pages using a javscript framework seems to be the new thing. Doesn't really make sense to me - this page is hardly dynamic (as opposed to a single page app).

Re: How to build a Bitcoin Wallet

#5

What kind of security concern would there be with using JS to implement your wallet? Or building the wallet yourself as opposed to a solution with updates and whatnot?

This introduction appears to be geared toward experimentation rather than production use. However, using JS server-side with node would be solely dependent on the implementation (the same as using any other language). Client-side (in-browser) adds all the usual client-side JavaScript crypto caveats¹.

¹ http://www.matasano.com/articles/javascript-cryptography/

Re: How to build a Bitcoin Wallet

#6
post #3

Initially did not see anything thanks to Ghostery + RequestPolicy. Since all the JavaScript disablers tend to trigger the haterade dispensers, I also checked to see whether or not they had anything in place for the search bots: https://www.google.com/#q=site:helloblock.io+how+to+build+a+... > Your search - site:helloblock.io how to build a bitcoin wallet - > did not match any documents. Too bad, as 'building a bitcoi…

Building static pages using a javscript framework seems to be the new thing. Doesn't really make sense to me - this page is hardly dynamic (as opposed to a single page app).

There's also a block explorer - https://helloblock.io/latest

Re: How to build a Bitcoin Wallet

#7

What kind of security concern would there be with using JS to implement your wallet? Or building the wallet yourself as opposed to a solution with updates and whatnot?

Looking at the two popular web wallets as an example. Blockchain.info and Coinbase. Blockchain.info is a client-side wallet implemented in JS Keys are encrypted client-side and encrypted keys stored in the server. There are good good benefits there because if blockchain.info is hacked, your keys are still with you and not compromised (Different story if the server starts serving malicious JS though)

The server-side wallet approach means that if their hot wallets gets hacked, all the funds will be gone.

Re: How to build a Bitcoin Wallet

#8
I thought several times about building a bitcoin wallet but I'm just too worried that I'll get something wrong and either lose a key or accidentally make a transaction that loses coins so decided not to risk it even for my own use. I'd frankly be terrified to let anyone else risk their own money on something like that without extreme levels of code review etc.

Re: How to build a Bitcoin Wallet

#10
These kind of handson tutorials are awesome. You can just copy/paste and run the code inside the browser console and see your transaction propagate to the network. I wish more tutorials were as easily 'runnable'.
Post reply on HN