All projects

CreditRail

Consumer credit marketplace with onchain settlement + registry, funded via KYC stablecoin escrow.

DeFi & Tokenization Risk & Compliance

What it is

CreditRail is an onchain settlement and registry layer that bridges consumer lending markets to blockchain.

It is conceptually similar to LendingClub: banks originate and service loans offchain, while CreditRail provides a marketplace and records loan listings, escrow funding, note ownership, and repayment lifecycle events onchain.

KYC/whitelisted institutional lenders can fund loans using stablecoins through an escrow contract. After the originator confirms disbursement and the deal is finalized, the lender receives a Note NFT representing a claim on repayment cashflows routed through the CreditRail system.

This demo is intentionally institution-only: the underlying credit exposure is restricted to compliant counterparties (e.g., KYC/ECP channels) and is not distributed to retail DeFi users.

By standardizing issuance and lifecycle events onchain—without opening the underlying notes to the public—CreditRail creates a foundation for future risk-transfer or derivative-style products built on top of these credit events.

How it Works

CreditRail combines smart contracts, Chainlink CRE workflows, and simulated offchain originator systems.

Smart contracts (Foundry / Solidity)

  • Onchain loan listing registry
  • Stablecoin escrow funding
  • Finalization logic and Note NFT issuance
  • Repayment accounting + loan status updates

Chainlink CRE workflows
CRE orchestrates offchain-to-onchain actions by ingesting external HTTP payloads and writing onchain state transitions.

This demo includes 3 workflows:

  • wf1 — Loan Listing: ingest originator listing data via HTTP payload → post onchain listing
  • wf2 — Loan Finalization: confirm escrow + originator approval → finalize issuance and mint the Note NFT
  • wf3 — Servicing Sync: cron workflow for repayment state + delinquency/status progression

Links

Created by

  • Andy Vu