Users earn tokens for daily check-ins
This is a simple Solidity smart contract that rewards users with tokens for logging in daily. The contract ensures that users can only log in once per day and accumulate rewards over time.
Users earn tokens for daily check-ins.
Rewards accumulate daily and can be checked anytime.
The contract ensures that users cannot claim multiple times within 24 hours.
Secure and gas-efficient logic.
This smart contract is deployed on the Edu Chain at the following address:
0x0eA8C6783b7710234f3c7565e7eF6C1528f898e0
login()Allows users to log in and receive daily token rewards.
Ensures that a user can only log in once every 24 hours.
checkRewards(address user) -> uint256Returns the total tokens accumulated by the given address.
Call the login() function once per day to claim rewards.
Use checkRewards(your_address) to view your accumulated token rewards.
This project is open-source and free to use.
50
No