HeartLedger
HeartLedger is a blockchain-based decentralized application (dApp) designed to enhance the transparency and efficiency of charitable donations.
Transparent Accounting and Smart Contract Management: The application features transparent accounting and manages charitable donations through smart contracts, ensuring that donations are efficiently and transparently distributed to the intended beneficiaries.
Decentralized and Global Accessibility: It operates on a decentralized network, reducing risks of fraud and enabling global participation in charitable causes without the limitations of traditional banking systems.
Modular Architecture and IPFS Integration: The project's architecture is modular, incorporating layers for user interaction, front-end, blockchain interaction, and storage. It also uses the InterPlanetary File System (IPFS) for decentralized image storage, enhancing data integrity and reducing transaction costs.
Challenges:
Security: Implementing features to prevent reentrancy attacks was a significant challenge.
Gas Costs: Balancing functionality with the high cost of operations on the blockchain required careful planning and optimization.
Technical Decisions and Trade-offs:
Modular vs. Integrated Contract Approach: Initially, a modular approach was considered for scalability, but an integrated contract was chosen for cost-effectiveness and simpler maintenance.
Use of IPFS for Image Storage: To reduce gas costs, IPFS was used for image storage, significantly lowering transaction costs compared to storing large data directly on the blockchain.
Polygon Over Ethereum: Polygon was chosen over Ethereum for its scalability and lower transaction costs, despite Ethereum's more extensive ecosystem.
Reflections and Future Improvements:
Tokenization and Enhanced User Verification: Future improvements include donor tokenization for voting on fund allocation and a robust KYC process for user verification.