Dark Hacker News
new
|
best
|
ask
|
show
|
jobs
Ethereum smart contracts in a nutshell | Dark Hacker News
Ethereum smart contracts in a nutshell
(linuxforme.com)
3 points
by
renas
8 years ago
| 5 comments
ethernaut70
8 years ago
|
next
[−]
What is the difference between the lottery() and manual_lottery() methods in the lottery contract?
renas
8 years ago
|
parent
|
next
[−]
lottery() is the final method, meaning, its what we want to be called by owner while we still have the result block available. the manual_lottery() was created for testing purposes only and its going to be removed when on production network.
ethbr
8 years ago
|
next
[−]
nice initiative, smart idea to use the future block hash as a base for the lottery result
cool client DAPP with creative icons
renas
8 years ago
|
parent
|
next
[−]
the icons are also a little open source project
https://github.com/renasboy/eth-address-icon
coin_collector
8 years ago
|
next
[−]
Very useful for my way of working, hardcore with a nice lottery example, thumbs up !