These are chat archives for ethereum/tutorials

Jun 2017
Jun 10 2017 02:52
@pirapira I don't unerstand "danger that someone controlling 50%+1 of all the tokens ".Why?------- have 100 gadgets. Why not sell them all?
Jun 10 2017 18:09

hey guys, got some noobish questions about smart contracts.

i basically want to create a smart contract to accept ether, and once it receives a certain amount of either, fires off an action. is this possible?

from within a smart contract that has been deployed, does it have access to things like current date/time?
Jun 10 2017 18:22
or the specific block number at any point in time?
Philippe Castonguay
Jun 10 2017 20:41
You would need to create a variable that counts the number of either
and make an assert function for a given condition with a call to another if condition is met
Perhaps not assert, but something similar (could just be an if statement)
block.number is a global variable saying what is the current block number
you can find more global variables that you might find useful here ;