hackquest logo

Performance Tracker

On-Chain Performance Tracker is a Solidity-based smart contract built on Flow’s EVM environment (Testnet). It allows users to record and store performance metrics directly on-chain.

Description

# 🧾 On-Chain Performance Tracker

## 📜 Overview

On-Chain Performance Tracker is a Solidity-based smart contract built on Flow’s EVM environment (Testnet).

It allows users to record and store performance metrics directly on-chain, enabling transparent and immutable tracking of performance data for decentralized applications in education, gaming, and productivity.

---

## 🌐 Network Information

- Blockchain: Flow

- Environment: Flow EVM Testnet

- Contract Address: 0x88aF6FA498814ae60F3f97c1DCc6Cf9381D6Ec50

- Compiler Version: ^0.8.20

- Language: Solidity

- License: MIT

---

## 🧠 Key Features

- ✅ Built and deployed on Flow EVM Testnet

- 🧱 Fully on-chain, immutable data storage

- 👤 User-centric logs: each address stores its own metrics

- 🕓 Auto-timestamped entries for verification

- ⚙️ No imports — lightweight and standalone contract

- 🔒 Owner (deployer) can manage and clear user data

---

## 🧩 Contract Summary

Contract Name: PerformanceTrackerWithConstructor

### Core Functions

- recordMetric(string metricType, uint256 value, string note) — Record a performance metric.

- getMetricCount(address user) — Get number of metrics logged by a user.

- getMetric(address user, uint256 index) — Retrieve details of a specific metric.

- clearUserMetrics(address user) (owner only) — Delete all records for a user.

---

## 📍 Deployed Contract

| Network | Contract Name | Address |

|----------|----------------|----------|

| Flow EVM Testnet | PerformanceTrackerWithConstructor | 0x88aF6FA498814ae60F3f97c1DCc6Cf9381D6Ec50 |

---

## 🚀 Use Cases

- 🧮 Educational platforms tracking student progress

- 🎮 On-chain gaming achievements and leaderboards

- 💼 DAO or workplace performance tracking

- 🏃 Fitness or productivity tracking with verifiable data

---

## 👤 Author

Harshit Singh

B.Tech CSE | Smart Contract Developer

📬 singhharshit75445@gmail.com

---

## 🪙 License

Licensed under the MIT License — free to use, modify, and distribute.

Progress During Hackathon

50 Percentage

Tech Stack

Solidity
Ethers
Team Leader
HHarshit Singh
Sector
AIDeFi