All projects

Instruxi Disaster Relief

Instruxi Disaster Relief is a Chainlink CRE-verified world disaster relief funding solution that emphasizes tamper-proof payouts, with every step made transparent and attested on chain.

Risk & Compliance

What it is

CRE-Orchestrated Disaster Relief Distribution is a transparent, tamper-resistant platform for disbursing humanitarian aid directly to disaster victims, with every step of the process verified by independent data sources and cryptographically auditable on-chain.

The problem it solves:
Disaster relief is consistently plagued by three linked failures. Funds get diverted before reaching victims. There is no way to verify a disaster is real before disbursing, making fake or exaggerated events a vector for fraud. And there is no public record of who received what, so donors and oversight bodies have no recourse. Traditional aid organizations are effectively black boxes.
This platform removes human discretion from the two highest-risk decision points: whether a disaster is real, and whether a recipient is eligible. Both are decided by automated, policy-enforced workflows, not by an admin clicking a button.

How it works:
A relief organization deploys the platform, creates a disaster program, and deposits USDC into the ReliefTreasury smart contract. When a disaster event occurs, an authorized admin registers it on-chain and requests verification. Chainlink CRE, running inside the Chainlink Decentralized Oracle Network, queries three independent real-world disaster databases (GDACS global alerts, USGS earthquake catalog, NASA EONET) and applies a 2-of-3 consensus rule. Only if two or more sources independently confirm the event does the contract transition to Active and open disbursements. No admin can override this.
Partner organizations upload CSV rosters of affected recipients into Instruxi's encrypted Object Storage. A backend process provisions a Privy-backed embedded wallet for each eligible recipient (keyed to their email, no crypto knowledge needed), creates their identity in Instruxi Enforcer, and assigns them to eligibility groups. The SHA-256 of the roster file is committed on-chain, so anyone can verify the recipient list was not tampered with after the fact.
When a recipient logs into the frontend with their email via Privy, their pre-provisioned wallet is restored automatically. If their Enforcer group membership confirms eligibility, they see a Claim button. Clicking it triggers the contract to emit an event; Chainlink CRE picks it up, re-validates eligibility against Instruxi's OPA policy engine, and calls back to the contract as an authorized fulfiller. The contract enforces per-recipient caps, per-event caps, total program caps, and replay prevention, then transfers USDC directly to the recipient's wallet. No intermediary holds the funds.
After every deposit and every disbursement, CRE creates EIP-712 signed TrustSync attestations via the Instruxi RWA Gateway, published publicly. Donors and auditors can independently verify the full financial picture without any admin access.

How it Works

This project is built on Chainlink CRE (Compute + EVM Log Triggers), and utilizes Instruxi's Enforcer, and Instruxi RWA Gateway.

 Smart contract: ReliefTreasury.sol implements the standard Chainlink CRE IReceiver interface.

 CRE workflow: Four EVM Log Trigger pipelines in a single TypeScript workflow (Bun + Javy WASM).
 Pipelines 1 and 2 write onchain via onReport. Pipelines 3 and 4 create TrustSync attestations based on treasury funding, and fund disbursement events via the
  Instruxi RWA Gateway with EIP-712 signed data.

 Instruxi APIs used: Enforcer (group creation, OPA policy, user registration and authorization), RWA
 Gateway (Privy server-side wallet provisioning, TrustSync attestation creation and publishing,
 contract registry).

 Frontend: React + Privy + ethers.js. Recipients sign in with email, get a pre-provisioned wallet, and
  claim directly.

 Tooling: Hardhat + hardhat-deploy, TypeScript throughout, 39 passing contract tests.

Links

Created by

  • Patricio Macedo
  • Julia Main
  • Catherine Greene