hackquest logo

Mocha - EUDR Lot Finance Marketplace

European imports of Coffee and Cocoa rose $35B dollars of in 2025. Effective December 30, 2026, every lot of coffee and cocoa placed on the EU market needs due-diligence evidence: proove where it was grown, that no forest was cleared after 2020, and that it was produced legally in the origin country. The company that first places it on the EU market carries with that verification responsibility, and the exporter still waits months to get paid. On Mocha, lenders fund a pool on Robinhood Chain, EU buyers publish their due-diligence policy, and each lot draws a larger advance as its steps are attested — repaid when the buyer pays the contract at delivery and all distributions are settled. All worked out with USDG and our token mocCOF for Cofee and mocKKO for Cocoa.

视频

技术栈

Solidity
Foundry
OpenZeppelin
Next
Tailwind
viem

描述

The Problem

Europe imported about $35B of Coffee and Cocoa in 2025 from America, Africa and Asia ( ITC Trade Map, HS 0901 + 1801). The EUDR makes the company that first places coffee or coca on the EU market responsible for due diligence on every lot, starting December 30, 2026. Coffee is sold months before it ships, and exporters finance the harvest in between - expensively. Current Traceability tools record evidence, but evidence alone doesn't pay for labor and transport.

How Mocha works

  1. Investors/Lenders deposit into an ERC-4626 pool and receive mocCOF, a share worth what the loans pay back.

  2. EU buyers publish their programs with their due-diligence policy. An AI Advisor reads each buyer's policy against what the exporter's lot has already recorded and suggests which offer to apply. It only suggests.

  3. The exporter applies with a signature; the buyer registers the order and commits its policy on-chain, as a hash, before any evidence esxists.

  4. As each step is attested, an idependent verifier signs a quote under that policy, and the exporter draws the advance, accepting the terms on-chian every time. The advance can only grow, up to 70% of the contracted invoice.

  5. All negative results are recorded too, in such events no money moves. For example quotes issued under a different Buyer's policy are rejected by the contract.

  6. The buyer pays the contract directly, in USDG (in the demo it was a test token used); in production an on-ramp partner could convert the buyer's SEPA transfer into USDG. Principal and fee return to the poo, a small protocol share goes to the treasury, and the rest goes to the exporter. The fee is released into the share price over time.

  7. If the buyer never pays, the loan is marked in default after its due date and the loss is written down in the share price: lenders bear the default risk; recovery runs off-chain under the trade contract.

Live on RobinHood Chain Testnet - recorded end to end

- Order registered: 0xa8d2d3d415809642becaa65989ca3abe97adffb2f6d99ca4f9706a5da74c1d97

- First advance (40%): 0x734d9cce984f55e7db116b5bb3c30f614fe36953ef4f8ba8e27a8f8151beb182

- Negative deforestation result, no money moved: 0xd709b6e01e3e661fa73c3cb2d3413affc06ae8eb996f9eb281527e45b389959a

- Quote under another buyer's policy, rejected PolicyMismatch): 0xb1c879eff06acef0e362c5021111145a9e22ef766a6041c5833368ae44da86d8

- Advance up to 70%: 0x7d443ad16d76e905a2e92de120238293331d0420c97fe79f3189ae8783cd21bc

- Buyer pays, four-way split: 0x62d1017e02547c468c8b7a65a3546516f077828d44bcc87c492907feeac6d3a1

These are found in explorer: https://explorer.testnet.chain.robinghoo.com and the same contracts are deployed and verified on Arbitrum Sepolia at the same addresses. A second pool on Robinhood Chain holds Paxo's official USDG.

Engineering

300+ Solidity tests (unit, fuzz, invariants, order-independence fuzz) on every change. A public read only site serves the pool's live state from the chain.

Illustrative Data

Evidence reports, polygons and the reference verifier are illustrative; the demo pool uses a test token (tUSDG). The deforestation baseline a real check would use is JRC Global Forest Cover 2020 (non-binding under the EUDR). This is a testnet prototype on purpose; a share in a lending pool is a regulated instrument in most jurisdictions, so it stays off mainnet until that is in place.

Business Model

A verification fee paid by the buyer, plus a protocl share (10%) of the loan fee, taken only on repayment.

Why Robinhood Chain

USDG and tokenized real-world assets already live there. A credit instrument backed by real trade belongs next to them.

Private repo — shared with engineering-AF for judging, as allowed by the rules.

本次黑客松进展

All worked in 2026. Sept 22 - idea validated with the team; problem framed with a coffee exporters' committee coordinator interviewed earlier this year. Sept 23–25: contracts (pool, loan book, signed-quote verifier), full test suite, adversarial reviews; web app with per-role pages and a read-only public site. Sept 26-28: Mocha: buyer programs, AI advisor, apply-then-draw flow, live share-price history; feature freeze. Sept 29: deployment and source verification on Robinhood Chain testnet and Arbitrum Sepolia; second pool on Paxos USDG. Oct 1: full demo recorded on Robinhood Chain testnet. All built on EthicChain's prior work on on-chain process attestation.

融资状态

Founder-funded; no institutional round raised yet.
队长
DDaniel Recinos
项目链接
赛道
RWADeFiAI