Contrust: Transparent Donations

Making charitable giving transparent, trustworthy, and AI-verified.

About the Project

Inspiration

The charitable giving sector faces a trust problem: donors often ask, "Where does my money actually go?" Traditional platforms lack transparency with blockchain solutions are hindered by high fees and poor user experience.

Contrust creates smart contracts with charitable organizations that opt-in and allow real-time tracking of a users donations in real-time to show how their money will be spent, and where every dollar raised is going to.

Judges! Judges!

Creativity

Contrust tackles a lack of transparency in charitable giving.

Utility

The platform is fully functional. Donors can give, track, and verify donations, NGOs can manage campaigns, and AI continuously monitors for fraud. It has real-time updates, fraud scoring, and financial integrations make it highly practical.

Charity

Contrust directly addresses societal trust in philanthropy. It enhances accountability and strengthens the impact of charitable contributions.

Avidity

I am solo hacker, my of 3 got their flight canceled and could not make it! This is my original idea from scratch, come see why I made it at my tablel.

What I Learned

Building Contrust taught about what smart contracts and how to enforce them on organizations:

  • AI Integration: Implementing Google's Gemini AI for real-time fraud detection required prompt engineering, context management, and API rate-limit handling.
  • Financial API Integration: Working with Capital One's Nessie API taught how banking systems track transactions and ensure compliance with NGOs.
  • Real-Time Data Architecture: Updating data every 5 seconds across MongoDB and in-memory state required careful caching and race condition management.
  • User Trust Design: Trust requires fraud score verification, clear communication, and accessible transparency.
  • Database Modeling: Structuring MongoDB schemas for campaigns, donations, and withdrawals references and query optimization.

How I Built It

Languages & Libraries TypeScript - Type-safe development across frontend and backend JavaScript - Core web functionality CSS - Styling with Tailwind CSS Next.js 15 - React framework with App Router Tailwind CSS - Utility-first CSS framework

Backend & APIs Next.js API Routes - Serverless API endpoints Better-auth - Modern authentication system Drizzle ORM - TypeScript ORM for Turso Nessie API - Capital One's banking API for transaction processing and customer account management

Databases MongoDB Atlas - Cloud-hosted NoSQL database for donations, campaigns, and NGO data Turso - Edge SQLite database for authentication

AI Google Gemini Pro - Large language model for fraud detection, insights generation, and smart explanations

Deployment & Hosting Vercel - Recommended hosting platform for Next.js .Tech - Domain acquire

Built With

Share this project:

Updates