News for hackers. Stuff that matters.
Re:Show HN: Create your own crapcoin in 3 minutes by streulpita on Monday April 30, 2018 @11:20AM (#16959321)
Is there a reason you didn't use the SafeMath library for protecting against overflows?

https://ethereumdev.io/safemath-protect-overflows/

Re:Show HN: Create your own crapcoin in 3 minutes by DINKDINK on Monday April 30, 2018 @12:45PM (#16960119)
My guess is that, in the spirit of all Ethereum Crapcoins, it's been coded with minimum attention to security and maximum attention to marketing.
Re:Show HN: Create your own crapcoin in 3 minutes by saltenas on Monday April 30, 2018 @11:28AM (#16959401)
We just used the erc20 template from the ethereum wiki.

It looks useful although for the people that do want to understand how the contract works it adds complexity to the codebase itself.

I definitely would use it for more complex smart contracts, but this one is meant to be easy and educational (like the whole app).

Re:Show HN: Create your own crapcoin in 3 minutes by nebulous1 on Monday April 30, 2018 @11:48AM (#16959584)
Looks like it's just doing overflow checking inline ( "require(balanceOf[_to] + _value > balanceOf[_to])", for instance).