Skip to content
D

DonorFi

Rebuilding trust in charity through blockchain.

Created on 5th April 2026

•

D

DonorFi

Rebuilding trust in charity through blockchain.

The problem DonorFi solves

What People Can Use This For

  • Transparent Donations
    Donors can contribute using their wallets and track exactly where their money goes, eliminating doubts about misuse.

  • Trustworthy Fundraising for NGOs
    NGOs can create verified campaigns, making it easier to build credibility and attract more donors.

  • Milestone-Based Funding
    Funds can be released in stages, ensuring money is used only when progress is proven.

  • Global Accessibility
    Anyone with a wallet can donate—no banking barriers, no geographic limitations.


How It Makes Things Easier

  • No Middlemen
    Direct wallet-to-wallet transfers reduce delays and extra fees.

  • Real-Time Tracking
    Every transaction is recorded on Solana, allowing instant verification.

  • Simple Campaign Management
    NGOs can easily create and manage campaigns using structured data stored in MongoDB.

  • Fast & Low-Cost Transactions
    Micro-donations become practical due to minimal fees.


How It Makes Things Safer

  • Immutable Records
    Transactions cannot be altered, ensuring complete transparency.

  • Reduced Fraud Risk
    Donors don’t have to blindly trust organisations—everything is verifiable.

  • Secure Wallet-Based Payments
    No need to share sensitive banking details.

  • Audit-Friendly System
    NGOs and regulators can easily review fund flow and usage.


Bottom Line

This platform transforms donations from “trust-based” → “proof-based”, making charity more transparent, efficient, and accountable for everyone involved.

Challenges we ran into

Challenges I Ran Into

1. Solana Devnet & Transaction Visibility Issues

One major hurdle was that transactions were not appearing on the explorer, often showing “account does not exist.”
This was caused by:

  • Using inconsistent RPC endpoints
  • Wallet connected to a different network than the backend

Fix:
I standardised everything to Solana Devnet, switched to a reliable RPC provider, and ensured both frontend and wallet were aligned to the same cluster.


2. Faucet Balance Not Reflecting

Even after requesting airdrops, the balance wasn’t updating.

Fix:

  • Forced a fresh airdrop request
  • Confirmed wallet network settings
  • Used CLI checks to verify balance independently

This helped isolate UI vs network issues.


3. Wallet Integration & Transaction Handling

Handling wallet-based transactions in a React/Next.js environment introduced issues like:

  • Failed or unconfirmed transactions
  • UI not updating after payment

Fix:

  • Added proper transaction confirmation (confirmTransaction)
  • Implemented state refresh after successful transfers
  • Improved error handling for failed signatures

4. Schema Consistency Between Frontend & Backend

Mismatch between frontend forms and backend validation schemas caused failed campaign/NGO creation.

Fix:

  • Centralised validation using shared Zod schemas
  • Ensured strict alignment between form inputs and database structure in MongoDB

5. UI Stability (Card Layout Breaking)

Dynamic content caused inconsistent card sizes and overflow issues.

Fix:

  • Used fixed height with flexbox layout
  • Applied text clamping and overflow control
  • Stabilised components for consistent rendering

Key Takeaway

Most challenges came from network inconsistencies, async blockchain behaviour, and schema mismatches. Solving them required aligning environments, improving validation, and handling blockchain confirmations more reliably.

Tracks Applied (3)

Best Use of MongoDB

This project utilises MongoDB to efficiently manage NGOs, campaigns, and user interactions with a flexible schema. Its d...Read More
MongoDB

MongoDB

Best Use of Gemini API

This project uses Gemini API to verify the NGOs by validating their background, their deatails, their uploaded documents...Read More
Gemini

Gemini

Best Build on Solana

This project leverages Solana for fast, low-cost, and transparent donations, enabling real-time tracking of funds on-cha...Read More
Solana

Solana

Discussion

Builders also viewed

See more projects on Devfolio