- May 2018
-
localhost:3000 localhost:3000Herodot1
-
Login
React developers unite!
-
- Nov 2017
-
docs.djangoproject.com docs.djangoproject.com
-
jQuery.trim
This is the only thing about this block of JS that requires JS. I wonder if this an attempt to get jQuery users to write JS? LOL.
Just replace
jQuery.trim(cookies[i])
withcookies[i].trim()
!
-
- Jun 2017
-
www.ethereum.org www.ethereum.org
-
0.25 ether
This is approximately $75 as of today (29-June-2017). That's a bit rich for a single contract call!
-
-
solidity.readthedocs.io solidity.readthedocs.io
-
onlyowner
Violates recommended style
-
onlyowner
Violates recommended style
-
onlyowner
Violates recommended style
-
onlyowner
Violates recommended style
-
onlyowner
Violates recommended style
-
onlyowner
Violates recommended style
-
Strings should be quoted with double-quotes instead of single-quotes. Yes: str = "foo"; str = "Hamlet says, 'To be or not to be...'"; No: str = 'bar'; str = '"Be yourself; everyone else is already taken." -Oscar Wilde';
I cannot agree with this recommendation. We're basically saying that we should change the literal string––grammar be damned––to suit a programming style.
-
-
solidity.readthedocs.io solidity.readthedocs.io
-
Tips and Tricks
Review this list periodically while developing.
-
-
solidity.readthedocs.io solidity.readthedocs.io
-
Pitfalls
This whole section would be good to review frequently while writing code.
-
Using random numbers in smart contracts is quite tricky if you do not want miners to be able to cheat.
I feel like this warrants a lot more explanation!
-
-
solidity.readthedocs.io solidity.readthedocs.io
-
A literal number can take a suffix of wei, finney, szabo or ether to convert between the subdenominations of Ether, where Ether currency numbers without a postfix are assumed to be Wei, e.g. 2 ether == 2000 finney evaluates to true.
1 ether = 1,000 Finney = 1,000,000 Szabo = 1,000,000,000 GWei = 1,000,000,000,000 MWei = 1,000,000,000,000,000 KWei = 1,000,000,000,000,000,000 Wei
-
- May 2017
-
staging.therapoid.net staging.therapoid.net
-
Test annotation.
-