Skip to content

gurshabdv/Transparity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Transparity - Transparent Charity Platform

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.

Getting Started

Prerequisites

  • Node.js 16+
  • MetaMask browser extension
  • Sepolia testnet ETH (from faucet)

Installation

  1. Clone and Install Dependencies
cd charity-app
npm install
  1. Set Up Environment
cp .env.example .env
# Edit .env with your Infura project ID and private key
  1. Run Tests
npx hardhat test
  1. Deploy to Sepolia
npx hardhat run scripts/deploy.js --network sepolia
  1. Update Frontend Config
# Copy the deployed contract address to .env
echo "REACT_APP_CAMPAIGN_CONTRACT_ADDRESS=0x..." >> .env
  1. Start Frontend
npm start

Frontend: βœ… 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

πŸ“ License

This project is for educational/demonstration purposes.

About

Blockchain application that helps charity organizations operate transparently and efficiently

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published