Transparent ETH donations split automatically among multiple verified charities.
Donation Splitter is a transparent and on-chain donation platform that allows users to send ETH and automatically split it among multiple verified beneficiaries. Each transaction is recorded on the blockchain, ensuring full transparency and traceability of funds. The contract defines a list of approved charities and their respective allocation percentages, guaranteeing that every donation is distributed exactly as intended. To preserve donor privacy, Lit Protocol is integrated to encrypt donor identities and donation metadata. Only the contract owner can decrypt this information for auditing or compliance purposes, combining privacy with accountability. The frontend integrates with Blockscout to display live transaction data and blockchain links, allowing users to verify every donation on-chain. Future versions will let donors customize their allocation among verified recipients and include proof-of-impact features, bridging crypto donations with real-world social impact.
Backend: Built with Hardhat 3, Ignition modules, and Solidity. The DonationSplitter smart contract defines a fixed list of verified beneficiaries and their allocation percentages at deployment time. It uses Hardhat Ignition, allowing parameterized deployment with predefined beneficiaries and percentages to ensure transparent and deterministic distribution of funds. Frontend: Developed with React, Vite, and wagmi/viem to create an intuitive dashboard UI. Users can connect their wallet, send donations, and instantly view blockchain activity. Blockscout is integrated to fetch and display transaction details in real time, making every donation fully verifiable on-chain. Privacy layer: Lit Protocol + Irys is used to encrypt donor identities and donation metadata off-chain. Only the contract owner can decrypt this information for auditing or compliance purposes, achieving privacy with accountability. The system is lightweight, decentralized, and open-source. A notably hacky part was integrating Lit Protocol encryption with on-chain events while maintaining a smooth and transparent user experience.

