Inspiration

60% of Malaysian SMEs have cash flow problems — not because they do bad work, but because they wait 45–90 days to get paid. Net-30/60/90 payment terms are basically interest-free loans for buyers at the supplier's expense. When BNM announced three ringgit stablecoin pilots under DAIH in February 2026, we saw an opportunity: what if we could use programmable money to make early payment profitable for both sides?

What it does

ChainSettle is a web app that demonstrates how stablecoin escrow with AI-verified delivery could transform B2B payments. A buyer creates a purchase order and locks mock stablecoin (MYRS) into escrow. The supplier uploads a delivery document, an AI agent verifies it against the PO, and payment releases automatically. The buyer gets a 2% discount for paying early (36% annualized return), the supplier gets paid in minutes instead of months.

How we built it

A React + Tailwind frontend with buyer and supplier views sharing state through a role toggle. The UI simulates the full escrow flow — PO creation, deposit, document upload, AI verification pipeline, and milestone release. We designed the AI verification UX to show each step transparently: OCR extraction, data cross-referencing, match confirmation, and contract trigger. The design system and prompt engineering for the UI were iterated through AI-assisted generation.

Challenges we ran into

Scoping was the biggest challenge. We had to resist building a real smart contract and AI pipeline in a 3-hour window and instead focus on what actually matters for a demo — making judges feel the product. Designing the dynamic discount UX so the economics are immediately obvious (not buried in text) took several iterations. Getting the three screens to feel like a cohesive product rather than disconnected mockups also required more design discipline than expected.

Accomplishments that we're proud of

The demo tells a complete story in under 3 minutes. You see the problem, the mechanism, and the impact without us having to explain it — the UI does the talking. The AI verification pipeline animation makes the invisible (document OCR, cross-referencing, contract calls) visible and tangible. And the dynamic discount calculator is live and interactive — judges can play with the numbers themselves.

What we learned

A convincing demo beats a half-working prototype. We learned to be ruthless about scope — every feature we cut made the demo tighter. We also learned that the hardest part of a two-sided platform isn't the tech, it's designing incentives where both parties genuinely want to participate. The discount economics took more thought than the entire frontend.

What's next for ChainSettle

Build it for real. Deploy the MYRS token and escrow contract on a testnet. Wire up Azure Document Intelligence for actual delivery document OCR. Integrate with ethers.js so the frontend triggers real contract calls. Then, once BNM's DAIH pilots conclude and regulatory clarity drops by end of 2026, migrate to a regulated ringgit stablecoin. Add KYC/AML, dispute arbitration, and Alibaba Cloud integration for TNG compatibility.

Built With

Share this project:

Updates