How jeevann8088/trustchain-secure-and-transparent-donation-tracking-using-blockchain works
This is a blockchain charity-donation tracking application: users enter through a single-page frontend, while donation, institution, and fund-usage records are tracked by a Solidity contract. The README documents donor, admin, and public-dashboard workflows, plus MetaMask and a local Hardhat blockchain. The HTML and contract source were not sampled, so the feature components and their links reflect documented capabilities rather than inspected call sites.
Main entry points: index.html Login flow · charityDonation.sol Contract records · admin.html Institution admin · contract-config.js Contract config
Components 15
Web interface
- Login flow
charity-donation-frontend/index.html - Donation screen
charity-donation-frontend/index.html - Institution admin
charity-donation-frontend/admin.html - Transparency dashboard
charity-donation-frontend/index.html - Contract config
charity-donation-frontend/contract-config.js
Charity contract
- Institution registry
contracts/charityDonation.sol - Donation tracking
contracts/charityDonation.sol - Fund usage reporting
contracts/charityDonation.sol - Transparency queries
contracts/charityDonation.sol - Contract records
contracts/charityDonation.sol
Blockchain
- Hardhat blockchain
Other components
- Donor
- Admin
- Public visitor
- MetaMask
Connections 19
- Donor → Login flow: enters
README.md - Login flow → Donation screen: continues as
README.md - Donation screen → Donation tracking: records donations
README.md - Admin → Login flow: enters
README.md - Login flow → Institution admin: continues as
README.md - Institution admin → Institution registry: registers and approves
README.md - Institution admin → Fund usage reporting: reports fund usage
README.md - Public visitor → Transparency dashboard: opens
README.md - Transparency dashboard → Transparency queries: shows totals and history
README.md - Transparency dashboard → Fund usage reporting: shows usage reports
README.md - Login flow → MetaMask: connects wallet
README.md - Donation screen → Contract config: uses contract configuration
- Institution admin → Contract config: uses contract configuration
- Transparency dashboard → Contract config: uses contract configuration
- Institution registry → Contract records: tracks institutions
- Donation tracking → Contract records: tracks donations
- Fund usage reporting → Contract records: tracks reports
- Transparency queries → Contract records: reads records
- Contract records → Hardhat blockchain: stored on