counter

Counter app is an onchain app that allows us to count something onchain.

counter

Created At

ETHOnline 2025

Project Description

Counter App is an onchain application that enables users to record and track counts directly on the blockchain. Each increment or decrement is stored immutably, ensuring transparency, verifiability, and decentralized record-keeping for any counting process.

Built using Solidity smart contracts, it leverages Hardhat for contract deployment and testing, and Ethers.js for seamless interaction between the frontend and blockchain. The frontend, built with React and Next.js, allows users to connect their wallet via MetaMask and update the counter through onchain transactions.

How it's Made

The Counter App was built using smart contracts deployed on the blockchain to ensure transparency and immutability. The core logic is written in Solidity, handling increment and decrement functions that update an onchain counter. We used Hardhat for development, testing, and deployment, along with Ethers.js to interact with the contract from the frontend.

The frontend was built with React and Next.js, providing a simple interface where users can connect their wallet via MetaMask and trigger onchain transactions. We used Alchemy as our RPC provider to ensure reliable node connectivity and faster transaction confirmations.

background image mobile

Join the mailing list

Get the latest news and updates