romariokav.in
  • home
  • timeline
  • projects
  • travel
  • gallery
projects/2 AD · Apr 2026

Cheque-Fi

1st place, XRPL Hack the Block

✦ highlight1st place at XRPL Hack the Block in Paris

Cheque-Fi, 1 of 2
when
Apr 2026 · 2 AD
where
Paris · in person
made with
  • Base
  • IPFS
  • AI agents
  • Claude
  • Rust
  • TypeScript
  • Next.js
  • React
  • Android
  • Tailwind
sourceon the timeline

what it is

CheckFi is an invoice factoring marketplace on XRPL. Suppliers turn unpaid invoices into instant cash, and funders buy those invoices at a discount and collect the yield at maturity.

The risk grade for each invoice is computed inside a RISC Zero zkVM, and the proof is verified on-ledger by an XRPL Smart Escrow. Neither side has to trust the credit scorer.

The supplier chooses which invoice fields funders can see. The hidden fields stay private but still feed the scoring, and the proof guarantees the grade is honest even though the underlying data is not shown.

  • Create: the supplier uploads an invoice and picks which fields stay private
  • Approve, score and fund: the debtor approves the invoice, the zkVM scores it, and a funder buys in at the discounted price so the supplier can withdraw liquidity. Funds in escrow are released at settlement only if the proof is valid

how it's made

The financial rails run on XRPL Devnet. On approval the debtor creates a Single Asset Vault and a Check, invoices are issued as Multi-Purpose Tokens, and funders buy vault shares. Batch Transactions make approval and funding atomic, and Memos carry an audit trail.

Scoring is a Rust guest program on the RISC Zero zkVM that reads every field, including the masked ones. Real Groth16 proofs are generated through the Boundless proof market, which takes 1 to 5 minutes, and a dev mode produces an instant fake seal for testing.

Settlement uses Smart Escrows on the groth5 Devnet, because XRPL Devnet does not execute Wasm in escrows. EscrowCreate embeds a 14 KB verification Wasm inline, and EscrowFinish submits the journal and seal as memos. The node runs the RISC Zero verification and releases funds only if the proof is valid.

The frontend is Next.js 16 with React 19, Tailwind CSS 4, shadcn/ui and Framer Motion. It uses a smart-escrow build of the xrpl client, xrpl-connect with seed-based faucet wallets for the demo, MongoDB for invoices, scoring and transaction hashes, and @react-pdf/renderer, pdf-lib and AgentMail for PDFs and email.

nearby

  • KOLlateralalso Base, AI agents, Claude
  • WeatherProofalso IPFS, AI agents
  • Grand Nouns Autoalso IPFS, AI agents
  • blockchAInalso Base, AI agents
← earlierCAASlater →Fanvas