Project Information

At a Glance

AidRail is a transparent aid disbursement platform that routes humanitarian funds on the XRP Ledger, enforcing multi-level approval, real-time audit trails, and trust scoring — so every dollar reaches

Description

The Problem

Every year, billions in humanitarian aid are lost to fraud, mismanagement, and opaque fund flows. NGOs, field offices, suppliers, and auditors operate in silos with no shared source of truth. Donors and regulators cannot verify that funds actually reach beneficiaries.

What AidRail Does

AidRail is a multi-role aid disbursement platform built on the XRP Ledger that brings full transparency and accountability to humanitarian funding.

How It Works

  1. NGO Headquarters creates aid programs with budgets and authorized field offices
  2. Field Offices submit payment requests to local suppliers for goods and services
  3. Smart routing automatically processes small payments (inferior $500) on-chain, while larger amounts require HQ approval — enforcing segregation of duties
  4. Auditors get a real-time split-screen view with on-chain verification, document hashes, and trust scores
  5. Every transaction is settled on the XRPL Testnet, creating an immutable, publicly verifiable record

Key Features

  • Xaman Wallet Authentication — No passwords. Users sign in with their XRPL wallet via QR code
  • On-Chain Settlement — Payments are executed as native XRP transactions on the ledger
  • Trust Engine — A scoring system that evaluates supplier reliability, document completeness, and transaction history
  • Document Verification — Uploaded invoices are hashed (SHA-256) and stored for tamper-proof audit
  • Multi-Role Access — Dedicated interfaces for NGOs, Field Offices, Suppliers, and Auditors
  • Real-Time Audit Trail — Auditors can cross-reference database records with on-chain transactions instantly

Why XRPL?

The XRP Ledger offers 3-5 second settlement, near-zero fees, and built-in DEX capabilities — ideal for cross-border humanitarian payments where speed and cost matter. AidRail leverages native XRP payments with the potential to expand to issued currencies and Checks for deferred settlement.

Impact

AidRail transforms aid from a trust-based system into a verify-based system. Every stakeholder — from the donor to the auditor — can independently verify that funds were spent as intended, on-chain, in real time.

Technical Details

Architecture: Turborepo monorepo with Next.js 16 (App Router, React 19), Prisma ORM (PostgreSQL via Neon), and modular packages.

Packages:

  • xrpl-service — XRPL client SDK wrapper for payments, checks, and ledger queries
  • trust-engine — Scoring algorithm with hard floors, penalties, and explainability
  • domain — Shared types and routing logic (threshold-based auto-pay vs HQ approval)

XRPL Integration:

  • Xaman (XUMM) SDK for wallet-based QR authentication (SignIn payloads)
  • Native XRP Payment transactions on Testnet via xrpl.js
  • On-chain transaction verification for auditors (tx hash lookup)

Security: iron-session (encrypted cookies), SHA-256 document hashing, input validation at API boundaries, no client-side secrets.

Stack: TypeScript, Tailwind CSS v4, Turbopack, SQLite (dev) / PostgreSQL (prod).

Team

3
LD

Leopold Diego

JL

Jean-Baptiste Laurent

AR

Alexis Rayon

Hackathon

HACK THE BLOCK 2026 Paris Blockchain Week XRPL Hackathon

Duration

Apr 11, 6:30 AM - Apr 12, 6:00 PM

View Hackathon Details

Prizes Won

1

Prizes Won

1 prize awarded

Quicknode

Sponsored by XRPL COMMONS
€1,000
EUR
Total Prize Money
€1,000