Skip to content

rakshaak29/studyhours

Repository files navigation

Study Hours Tracker – Web3 dApp

Contract Address

image **0xD773014E3152E8CC2B5Cc03fa68315F1F983f7CD** Explorer: https://coston2-explorer.flare.network/address/0xD773014E3152E8CC2B5Cc03fa68315F1F983f7CD

Description

The Study Hours Tracker is a decentralized application (dApp) deployed on the Flare Network.
Its purpose is to help users record, store, and retrieve their total study hours securely on-chain.

The system uses a simple smart contract where each wallet address maintains its own cumulative count of hours studied.
Because all data is stored on the blockchain, it is immutable, transparent, and self-sovereign, ensuring complete user ownership over their records.


Features

✔ On-Chain Study Hour Tracking

Users can log study hours directly to a blockchain contract through a friendly web UI.

✔ Personal Study Hours

Each connected wallet can view its total recorded hours using the getMyHours() function.

✔ Lookup Any User

The contract allows querying the total hours of any address using getHoursOf(address).

✔ Add Hours

The addHours(uint256) function securely increments the caller's stored hours.

✔ Wallet-Connected UI

Full Web3 integration using the Wagmi & Viem stack ensures smooth interaction with MetaMask and other wallets.

✔ Transaction Status & Error Handling

Users receive feedback on pending, confirming, and successful blockchain transactions.


How It Solves the Problem

Traditional study tracking apps come with limitations:

  • Data is stored in centralized servers.
  • Users can lose access or have data modified.
  • No transparent or verifiable way to prove consistency of study effort.

This dApp solves all of these issues by leveraging blockchain technology:

🔹 Data Ownership

Your study hours belong to you and are stored on your blockchain address.

🔹 Tamper-Proof

Since data is stored on-chain, no one—including the app owner—can modify your study history.

🔹 Open & Verifiable

Anyone can verify another user’s study hours, which can be useful for:

  • Learning communities
  • Productivity challenges
  • Proof-of-learning systems
  • Gamified learning apps

🔹 Simple, Robust, and Transparent

The minimalistic contract design focuses purely on accurate and secure tracking, ensuring reliability and maintainability.


This project demonstrates a practical, real-world use case for decentralized storage by enabling students, teams, or communities to transparently track learning progress on the blockchain.

studyhours

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors