Counter Contract
## 🧮 Counter Smart Contract A simple Solidity smart contract that increases a counter each time the `increment()` function is called. Great for beginners learning how smart contracts work, interac
Description
## 🧮 Counter Smart Contract
This project demonstrates a simple yet powerful example of a Solidity smart contract — a counter that increases its value each time a function is called.
It’s designed to help beginners understand how smart contracts work, how state variables are updated on the blockchain, and how to interact with a contract using tools like Remix and MetaMask.
The contract is lightweight, gas-efficient, and can be easily extended or integrated into decentralized applications (dApps) that require on-chain counting logic, such as upvote systems, token trackers, or event counters.
It serves as a great starting point for anyone exploring Ethereum development or building their first blockchain project.
Progress During Hackathon
Stage 1: Idea & Planning We began by deciding to build a simple yet functional blockchain-based counter system to understand the fundamentals of smart contract deployment and dApp integration. The goal was to create a small, fully working on-chain project that tracks and increments a count value securely on Ethereum. Stage 2: Development Wrote the smart contract (Counter.sol) in Solidity using Remix IDE. Implemented functions for incrementing and viewing the counter value. Deployed the contract on the Sepolia Testnet using MetaMask. Tested transactions and verified state updates through the Remix console. Stage 3: Frontend Integration (in progress) Started building a simple HTML/JS frontend using Ethers.js to connect with MetaMask. The frontend displays the live counter and allows users to increment the value on click. Working on smooth UI interaction and transaction status feedback. Stage 4: Documentation & GitHub Setup Created a public GitHub repository (counter-contract). Added README with setup instructions and deployment guide. Preparing final demo and presentation for submission. Next Steps: Complete UI integration. Optimize gas usage and add reset functionality. Record short demo video and finalize pitch deck.
Tech Stack
Fundraising Status
Not yet