A blockchain-based charity platform that provides complete transparency for donations and expenses. Built with Solidity smart contracts and React frontend, deployed on Ethereum Sepolia testnet.
- Node.js 16+
- MetaMask browser extension
- Sepolia testnet ETH (from faucet)
- Clone and Install Dependencies
cd charity-app
npm install- Set Up Environment
cp .env.example .env
# Edit .env with your Infura project ID and private key- Run Tests
npx hardhat test- Deploy to Sepolia
npx hardhat run scripts/deploy.js --network sepolia- Update Frontend Config
# Copy the deployed contract address to .env
echo "REACT_APP_CAMPAIGN_CONTRACT_ADDRESS=0x..." >> .env- Start Frontend
npm startFrontend: β React + ethers.js + MetaMask integration Real-time: β Event subscription with automatic updates Transparency: β Complete ledger with Etherscan links UI/UX: β CSS Modules + optimistic UI + responsive design
This project is for educational/demonstration purposes.