Full-stack ERC-20 project with Solidity + React (Vite).
contracts/Hardhat smart contract projectfrontend/React + Vite dashboard
- Go to
contracts/ - Copy
.env.exampleto.env - Fill values:
SEPOLIA_RPC_URLPRIVATE_KEY
npm run compilenpm run deploy:sepolia
Deployed contract address is printed in terminal.
- Go to
frontend/ - Copy
.env.exampleto.env - Set
VITE_TOKEN_ADDRESSwith deployed contract address
npm run dev
- 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