Skip to content

jephcoded/ERC-20-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sepolia Token Dashboard

Full-stack ERC-20 project with Solidity + React (Vite).

Project Structure

  • contracts/ Hardhat smart contract project
  • frontend/ React + Vite dashboard

1) Smart Contract (Hardhat)

Setup

  1. Go to contracts/
  2. Copy .env.example to .env
  3. Fill values:
    • SEPOLIA_RPC_URL
    • PRIVATE_KEY

Commands

  • npm run compile
  • npm run deploy:sepolia

Deployed contract address is printed in terminal.

2) Frontend (React + Vite)

Setup

  1. Go to frontend/
  2. Copy .env.example to .env
  3. Set VITE_TOKEN_ADDRESS with deployed contract address

Run

  • npm run dev

Dashboard Features

  • Wallet connect
  • Address + network display
  • Sepolia-only network guard
  • Token info (name, symbol, total supply, contract)
  • User token balance with refresh
  • Transfer form with loading + success/error feedback
  • Bonus: owner-only mint
  • Bonus: burn
  • Bonus: copy contract address
  • Mobile responsive layout

About

my ERC-20

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors