I hope this question is not bad one, but this has been something I have been having trouble understanding. How does time in the blockchain work, and how can I utilize variables like block.timestamp
and the like? I am creating a faucet where the user can withdraw a set amount of ether, then they have to wait one hour before they can withdraw more.
Edit for duplication: I want to be ablehave looked at other explanations here on StackExchange, but it did not answer my question. I would like to set a timerknow how time is passed on the blockchain, then a certain function will become available for that addressand with this knowledge utilize block. Thank you in advancetimestamp. I apologize if I was unclear. I am a beginner with creating Dapps, and want to learn! :)