hackquest logo

Flow Counter Contract

A simple Solidity smart contract that stores a counter and allows increment/decrement on-chain, deployed on Flow EVM Testnet.

Videos

Description

Counter Smart Contract on Flow EVM Testnet

A simple Solidity smart contract that lets anyone increment or decrement a counter stored on-chain.

🪙 Contract Info

  • Network: Flow EVM Testnet

  • Contract Address: 0xd1c81168e51e6F2563aCf7CE5cbAD15ce11f1837

  • Block Explorer: View on FlowScan

  • Deployed using: Remix IDE + MetaMask

  • Test Tokens from: Flow Faucet

⚙️ How It Works

  • Stores a number (count) on-chain.

  • Anyone can increment or decrement it.

  • You can view the count using getCount() function.

🧱 Smart Contract Code

See Counter.sol

🚀 Future Improvements

  • Add access control (only owner can reset)

  • Add event logging for tracking count changes

  • Create a frontend to interact with the counter

👨‍💻 Built For

  • HackQuest × Flow Build Station

  • Forte Hacks Global Hackathon

🏆 Submission Info

Tech Stack

Web3
Solidity
Team Leader
MMd Shahzeb Alam
Sector
OtherAI