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

Builders Also Viewed