hackquest logo
  • 学习
  • 课程探索
  • 实战
  • 探索黑客松
  • 往期项目
  • 社区
  • 论坛
  • 全球活动
  • 我的社区
  • 共学营
  • 组织中心
  • 更多
    • 词汇表
    • 博客
    • 水龙头
    • 工作机会
    • 媒体工具包
    • 创始人
hackquest logo

jotterai

A simple smart contract that counts — increment, decrement, and store numbers securely on the blockchain.

技术栈

Ethers
Web3
remix

描述

The Counter Smart Contract is a foundational Solidity project that demonstrates how smart contracts store and modify data on the blockchain.

It features a simple numerical counter that can be incremented or decremented through public functions. The current value is stored permanently on-chain, ensuring transparency and immutability.

This project serves as a hands-on example for beginners to understand state variables, function visibility, and transaction-based updates in Ethereum smart contracts. It’s an essential step for anyone starting their journey in blockchain development.

本次黑客松进展

During the development of the Counter Smart Contract, I learned the step-by-step process of writing, compiling, and deploying a Solidity contract on Remix IDE. Initially, I started with understanding state variables and how data is stored permanently on the blockchain. Then I implemented the basic logic for increment and decrement functions. After that, I tested multiple transactions to observe how values change on-chain and added a require() statement to prevent the counter from going below zero. I also explored function visibility, gas usage, and deployment procedures, which helped me understand how even small contracts interact with the Ethereum Virtual Machine (EVM).
队长
BBanhishikha Debnath
赛道
SocialFi