Skip to content
RateFlow

RateFlow

Live on-chain yield tracking for DeFi protocols.

Created on 1st February 2026

•

RateFlow

RateFlow

Live on-chain yield tracking for DeFi protocols.

The problem RateFlow solves

DeFi users and developers rely heavily on yield data (APY) to make decisions, but most existing tools suffer from one or more of these problems:

  • Yields are not real-time and update with delays
  • Data is often aggregated off-chain, reducing transparency
  • Users only see static APY snapshots, not how yields are changing
  • Developers lack simple APIs to programmatically access live yield data

This makes it difficult to:

  • React quickly to yield changes
  • Compare stablecoin opportunities accurately
  • Build automated strategies or analytics on top of reliable yield data

How RateFlow Helps

RateFlow is a real-time DeFi yield intelligence platform that directly streams on-chain yield data from the Aave v3 protocol and turns it into actionable insights.

With RateFlow, users and developers can:

  • Track live supply and borrow APYs for stablecoins like USDC and USDT
  • See real-time yield changes instead of delayed snapshots
  • Instantly know the best yield opportunity right now via recommendations
  • Access yield data programmatically using a public API
  • Build dashboards, bots, or analytics using API-first architecture

Unlike traditional dashboards, RateFlow focuses on yield intelligence, not just yield display making DeFi decision-making faster, clearer, and more transparent.

Challenges we ran into

Building a real-time, production-ready Web3 system came with several non-trivial challenges.


🔹 1. On-chain Data Complexity & Accuracy

Challenge:
Fetching yield data directly from Aave v3 contracts involves dealing with raw on-chain values, precision handling, and protocol-specific rate calculations. Small mistakes can lead to incorrect APY values.

How I solved it:

  • Used official Aave v3 contract interfaces
  • Carefully normalized on-chain values using correct decimals
  • Cross-verified outputs with Aave’s documentation and dashboards
  • Ensured no mock or hardcoded data was used

This ensured the yields shown are accurate and trustless.


🔹 2. Real-Time Updates Without Overloading RPCs

Challenge:
Continuously fetching on-chain data can easily overload RPC providers or introduce latency.

How I solved it:

  • Implemented a controlled polling mechanism
  • Indexed and cached yield data in the backend
  • Used WebSockets to push updates to the frontend instead of repeated client polling

This achieved low-latency updates while remaining efficient and scalable.


🔹 3. Strict TypeScript Errors in Production Builds

Challenge:
The project worked locally, but production builds failed due to strict TypeScript checks, especially because some assets (USDE, CevUSD) intentionally do not have yield data yet.

How I solved it:

  • Refined shared interfaces to correctly model optional and unavailable data
  • Added proper null-safety handling instead of disabling strict checks
  • Ensured frontend and backend stayed type-safe via a shared contract layer

This improved both code quality and system reliability.


🔹 4. Frontend ↔ Backend Integration Issues (CORS & Environment Config)

Challenge:
After deployment, the frontend could not fetch data from the backend despite the backend working correctly.

How I solved it:

  • Diagnosed CORS misconfiguration blocking requests from the Vercel domain
  • Updated backend CORS handling to support dynamic production origins
  • Fixed environment variable handling specific to Create React App (REACT_APP_ prefix)

This ensured seamless communication between deployed services.


🔹 5. Making the System “Hackathon-Ready”

Challenge:
Balancing real-world architecture with hackathon time constraints.

How I solved it:

  • Focused on one protocol (Aave v3) but designed the system to be protocol-agnostic
  • Prioritized correctness, real-time behavior, and clarity over feature bloat
  • Built a system that is production-ready, not just demo-ready

Final Outcome

Despite these challenges, RateFlow successfully delivers:

  • Real-time on-chain yield tracking
  • A scalable backend with WebSocket support
  • A clean public API for developers
  • A modern, deployed, production-grade system

These challenges ultimately strengthened the project and made it more robust, transparent, and realistic.

Tracks Applied (1)

Web3/Defi Track

RateFlow is fundamentally a Web3-native financial intelligence platform built on top of on-chain data and decentralized ...Read More
Lucidly Finance

Lucidly Finance

Discussion

Builders also viewed

See more projects on Devfolio