Back to Portfolio
Web3 Counter
Project Type:blockchain
Completed: October 2023

Web3 Counter

My first Solidity contract deployed on Sepolia testnet, a blockchain-based counter application that stores count values on Ethereum.

Technologies Used

SolidityJavaScriptWeb3.jsMetaMask IntegrationEthereum

Skills Developed

This is my first Solidity contract, live on Sepolia testnet. This helped me gain experience with Solidity and wallet integrations. This app requires a MetaMask wallet and testnet ETH.

About this Project

The Web3 Counter is a decentralized application that stores counter values on the Ethereum blockchain (Sepolia testnet). Users can connect their MetaMask wallet, increment or decrement the counter, and see their transaction history. The counter value persists across sessions and devices since it's stored on the blockchain. This was my first exploration into Web3 development and smart contract creation.

Key Features

  • Connect with MetaMask wallet
  • Increment and decrement counters on the blockchain
  • View transaction history
  • Real-time updates when the counter changes
  • Support for Sepolia testnet
  • Transaction status feedback

Challenges & Solutions

Challenge 1:Learning Solidity and smart contract development

Solution:

Studied Solidity documentation and followed tutorials to build a simple but functional contract

Challenge 2:Integrating MetaMask wallet with the frontend

Solution:

Implemented Web3.js to create a seamless connection between the user interface and blockchain interactions