Skip to content

ERC-20 token faucet on Sepolia with secure smart contracts and a modern React frontend. Includes limits, cooldown, blacklist, real-time metrics, and wallet connection via RainbowKit/Wagmi.

License

Notifications You must be signed in to change notification settings

casaislabs/TEST-Token-Faucet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TEST Token Faucet Monorepo (Backend + Frontend)

A compact, professional repository that contains:

  • Backend: Hardhat smart contracts and tests for an ERC‑20 token (SimpleToken) and a rate‑limited token faucet (TokenFaucet) on Sepolia.
  • Frontend: React + Vite + TypeScript app using Wagmi/RainbowKit to interact with the faucet, request tokens, and view status.

Repository structure

  • backend/ — Smart contracts, tests, Hardhat config, deployment modules
  • frontend/ — React app (UI, web3 config, ABIs)

Prerequisites

  • Node.js 18+ and npm
  • A Sepolia‑compatible wallet (e.g., MetaMask)
  • Sepolia RPC and WalletConnect Project ID (see Frontend README)
  • Contract addresses and ABIs (see Backend README)

Quick start

  • Install dependencies
    • cd backend && npm install
    • cd ../frontend && npm install
  • Configure environment
    • backend/.env (deployment settings, RPC, keys)
    • frontend/.env (WalletConnect, RPC, contract addresses)
  • Development

Live site

Notes

  • Keep secrets out of version control; never commit .env files.
  • Ensure frontend ABIs and addresses match the deployed backend contracts.

About

ERC-20 token faucet on Sepolia with secure smart contracts and a modern React frontend. Includes limits, cooldown, blacklist, real-time metrics, and wallet connection via RainbowKit/Wagmi.

Topics

Resources

License

Stars

Watchers

Forks