SOIL SENSORS SYNC: SAGE-NET_49B
MOISTURE PROBE: Active [34.8%]
NDVI EQUATION: (NIR - RED) / (NIR + RED)
NDVI STATUS: OPTIMAL [0.79]
PLOT GEOMETRY coordinates:
LAT: 42° 21' 36" N | LON: 71° 03' 32" W
ELEVATION: 142m MSL
PREDICTIVE STAGE
CHEMISTRY DATA VECTORS:
NITROGEN (N): 48mg/kg [IDEAL]
PHOSPHORUS (P): 24mg/kg [SUFFICIENT]
POTASSIUM (K): 124mg/kg [IDEAL]
SAGE-I PROCESSOR LOAD: 12.8%
EST. YIELD INDEX: +32.4% vs BASELINE
HYBRID SEED MODEL GENETICS:
VARIETAL: SAGE_ORACLE_V4.2.1
STRESS ADAPTIVE FACTOR: 98%
CLIMATE RESILIENT INTEGRITY
||| |||| ||| |||| |||
SCAN SOIL FOR TELEMETRY
SYSTEM TELEMETRY ENGINE: ACTIVE
MODEL REF: YIELD_SAGE_MODEL_092
COGNITIVE
ADVISORY
SAGE-I
ORGANIC
COMPILING
✓ VERIFIED
01 / Introduction

What is YieldSage?

A plain-English guide to the most intelligent yield platform on Mantle Network.

YieldSage is your personal AI-powered yield advisor for the Mantle Network — a fast, low-cost blockchain built for DeFi. Think of it as having a smart financial analyst working around the clock, scanning every liquidity pool and yield farm on Mantle, ranking them by how good they are right now, and delivering that intelligence directly to you — in plain English — through a web dashboard and a Telegram bot.

The problem YieldSage solves is real: DeFi opportunities on Mantle change every hour. Yields spike and drop. Protocols launch new pools. Better opportunities appear while you're asleep. Unless you manually check five different protocols every single day, you'll miss things. YieldSage does all of that monitoring for you automatically.

But it goes further than just showing you numbers. YieldSage uses artificial intelligence to actually reason about each opportunity — considering the risk, the liquidity depth, the reward structure, and whether the yield is genuinely sustainable — and then tells you what it thinks in plain, honest language that anyone can understand.

And because trust matters in DeFi, every single recommendation YieldSage produces is permanently recorded on the Mantle blockchain with a cryptographic fingerprint. Anyone can verify, at any time, that the recommendation was real and was never edited after the fact.

💡 Watch the Video Demo
Prefer a visual walkthrough? Watch our 13-minute YieldSage Video Demo on YouTube to see the scrollytelling interface, dashboard analytics, on-chain proof verification, and Telegram bot in action.

Hourly Updates

Every hour, YieldSage queries on-chain data from all tracked Mantle protocols and refreshes every metric on the dashboard automatically.

AI-Powered Scoring

A multi-model AI cascade analyses every pool and produces ranked recommendations — categorised into Stable, Moderate, and Aggressive risk tiers.

Verifiable On-Chain

Every recommendation is SHA-256 fingerprinted and committed to Mantle as a transaction. Zero trust required — you can verify everything yourself.

💡 Who is YieldSage for?
YieldSage is built for anyone who holds crypto on Mantle — from complete beginners who just want to know the safest place to earn yield on their stablecoins, to experienced DeFi users who want a reliable daily signal without manually reading protocol documentation every morning. No technical knowledge is required to use the dashboard or the Telegram bot.
02 / End-to-End Flow

How YieldSage Works — From Start to Finish

A complete walkthrough of everything that happens behind the scenes, every single hour.

1

On-Chain Data is Collected — Every Hour

YieldSage runs a custom query against Dune Analytics — a powerful on-chain data platform — every single hour, 24 hours a day. This query pulls real, live data directly from Mantle's blockchain records: the APY of every major liquidity pool, how much money is locked in each pool (TVL), what the reward tokens are, and how each metric has changed over the past 1 day, 7 days, and 30 days. The system is engineered for high availability, with built-in rate-limit resilience ensuring data collection is never interrupted.
2

Protocols Are Auto-Registered in the Database

When a new pool or protocol appears in the data for the first time, YieldSage automatically registers it in the database — capturing its name, contract address, pool type, protocol logo, and a link to its app. This means the platform always stays up to date without any manual intervention. Existing protocols are also updated if their metadata changes (for example, if a new logo becomes available).
3

The AI Scoring Engine Analyses Everything

After fresh data arrives, the AI Scoring Engine gets to work. This is where YieldSage becomes more than just a data aggregator. The engine sends all the current yield data to a cascade of powerful AI models (explained in more detail in the Yield Intelligence section) and asks them to do several things:
  • Rank every pool by its risk-adjusted attractiveness
  • Categorise each pool as Stable, Moderate, or Aggressive
  • Write a plain-English explanation of why each top pick is recommended
  • Identify any pools that are particularly high-risk right now
  • Flag unusual yield spikes or TVL changes that deserve attention
4

Recommendations Are Fingerprinted and Committed On-Chain

Before any recommendation is stored in the database or shown to users, it is cryptographically fingerprinted. The entire recommendation — the protocol name, pool address, APY, AI reasoning, risk tier, and timestamp — is serialised into a standardised JSON format and then run through the SHA-256 hashing algorithm. The resulting hash (a unique 64-character string) is embedded into a 0-value transaction on the Mantle blockchain, making the recommendation permanently and publicly verifiable. This is explained in full detail in the On-Chain Proof section.
5

The Dashboard Updates Automatically

Once the new data and recommendations are stored, the web dashboard reflects them immediately. Every metric — APY, TVL, trends, risk tiers, recommendation cards — is live and sourced directly from the database. The dashboard refreshes automatically; you don't need to reload the page.
6

Personalised Alerts Are Sent via Telegram

Simultaneously, the Telegram bot sends personalised hourly updates to every user who has enabled alerts. Each update is tailored to the user's risk preference (Stable, Moderate, or Aggressive) and takes into account any paper trades they currently have open — so if a better opportunity has emerged within their risk tier, they're told about it immediately.

System Architecture — Data Flow

Mantle Network
Dune Analytics
Supabase Database
AI Scoring + On-Chain Hash
Dashboard · Telegram · Alerts
03 / Dashboard Guide

Understanding the YieldSage Dashboard

A complete guide to every section of the dashboard and how to use it effectively.

The Overview Stats Bar

At the top of the dashboard you'll find four headline numbers. These give you an instant pulse-check of the Mantle DeFi ecosystem right now:

Protocols Tracked
The number of distinct DeFi protocols currently being monitored by YieldSage. Each protocol may have multiple pools.
Pools Tracked
The total number of individual liquidity pools across all protocols. Each pool has its own APY, TVL, and risk profile.
Total TVL
The combined value of all assets locked across every tracked pool, in USD. This represents how much money the ecosystem is managing.
Avg APY
The average annual percentage yield across all tracked pools right now. Use this as a baseline when evaluating individual opportunities.

The AI Recommendation Cards

Below the stats bar, you'll find the AI Recommendation Cards — three cards, one for each risk tier (Stable, Moderate, Aggressive). Each card shows you the AI's current top pick within that tier, including:

  • The protocol and pool name — what it is and where the yield comes from
  • The current APY — the annual percentage yield at the time of the last AI scoring run
  • The AI's reasoning — a plain-English paragraph written by the AI explaining why this pool is the best pick right now within this risk tier, and any caveats you should be aware of
  • An Invest link — takes you directly to the protocol's app where you can deploy capital
  • A Simulate button — lets you open a paper trade in the Telegram bot without committing real funds
ℹ️ What does 'current top pick' mean?
The AI runs every hour. The recommendation you see is the AI's most recent assessment — not a historical suggestion. If the market moves significantly between runs, the next hourly update will reflect that change.

The Leaderboard Table

The main table shows every tracked pool ranked and filterable. Here's how to use it:

  • Sort any column by clicking the column header — click once for ascending, again for descending
  • Search by protocol name, pool name, or asset type using the search bar
  • Filter by risk tier using the toggle buttons (All / Stable / Moderate / Aggressive)
  • Filter by minimum TVL to exclude small pools with low liquidity
  • Add to Watchlist by clicking the star icon — watchlisted pools appear in your personal watchlist tab
  • Click the pool name to open its contract address on Mantlescan (the Mantle blockchain explorer)
  • Click Invest to go directly to the protocol's DApp to deposit funds
  • Click Simulate to run a paper trade through the Telegram bot

The APY History Charts

Below the leaderboard, you'll find interactive charts showing how the APY of each protocol has changed over the past 7 days (or 30 days — toggle between them). Select any protocol from the tabs above the chart to view its specific history. Hover over the chart to see the exact APY and timestamp for any point. These charts are useful for identifying whether a high APY is a stable trend or a temporary spike.

The On-Chain Proof Section

At the bottom of the main page (accessible via /#on-chain-proof), you'll find the complete historical log of every AI recommendation that has been committed to the Mantle blockchain. You can search this log by protocol name, pool name, contract address, or transaction hash. Each entry links directly to its Mantlescan transaction and its verification page — where you can independently confirm the recommendation was never altered.

04 / Every Metric Explained

What Every Number on the Dashboard Means

Click any metric below for a detailed explanation of what it is, why it matters, and how to interpret it.

APY — Annual Percentage YieldAPY
Example: 18.42%
Base APY
Example: 6.84%
Reward APY
Example: 11.58%
TVL — Total Value LockedTVL
Example: $4,200,000
Reward Tokens
Example: MNT, USDC
APY 1D / APY 7D / APY 30D — Trend Indicators
Example: +2.3% / -1.1% / +5.8%
Risk Tier — Stable / Moderate / Aggressive
Example: STABLE
Protocol Image Placeholder
Example: 🔷 M · A · G
Pool Contract Link
Example: https://mantlescan.xyz/address/0x...
05 / Yield Intelligence

How the AI Understands and Ranks Yield Opportunities

A deep dive into how YieldSage's artificial intelligence actually works — with no technical jargon.

The core of YieldSage is its AI Scoring Engine — a system that doesn't just look at raw numbers, but actually reasons about what those numbers mean. Here's how it works, explained in plain English.

What Information Does the AI Receive?

Every hour, after the fresh data has been fetched, the AI Scoring Engine receives a comprehensive snapshot of all currently active pools. For each pool, the AI can see:

  • The current total APY and how it breaks down into base fees vs reward emissions
  • The pool's TVL and whether it has been growing or shrinking
  • APY trends over 1 day, 7 days, and 30 days
  • Which tokens are in the pool and what rewards are offered
  • The protocol name and its on-chain contract address
  • Comparative data across all other pools (so it can contextualise)

The Multi-Model Cascade — Why YieldSage Never Goes Offline

YieldSage doesn't depend on a single AI provider. Instead, it uses a cascading provider system — a series of AI models from different companies, ordered by preference. When the Scoring Engine needs to generate recommendations, it tries them in this order:

  1. 1
    Cerebras (Llama 3.1 70B)
    Primary pipeline — chosen for maximum speed, completing each scoring run in seconds.
  2. 2
    SambaNova (Llama 3.1 405B)
    Fallback 1 — one of the largest open-source models available, with exceptional reasoning depth.
  3. 3
    Groq (Llama 3.3 70B)
    Fallback 2 — ultra-low latency inference with consistently reliable outputs.
  4. 4
    NVIDIA NIM (Llama 3 70B)
    Fallback 3 — enterprise-grade cloud compute with high reliability.
  5. 5
    Google Gemini Flash 1.5
    Ultimate fallback — Google's proprietary model, always available as a last resort.

If the first provider is unavailable or slow, the system immediately tries the next one — automatically, without any interruption to users. This means YieldSage's recommendations keep running even if one AI provider has an outage.

What Does the AI Actually Think About?

The AI is given a structured prompt that instructs it to evaluate each pool across several dimensions. It is specifically guided to:

  • Assess risk holistically — not just based on the tokens, but considering TVL depth, the proportion of reward vs fee yield, and trend stability
  • Consider sustainability — a 500% APY that comes entirely from reward emissions that are dropping fast is flagged differently than a 15% APY that comes from real trading fees
  • Rank within tiers, not globally — the Stable tier's top pick is the best option for risk-averse capital, not compared to Aggressive picks
  • Write honest, nuanced reasoning — the AI is instructed to acknowledge risks and caveats, not just cheerfully recommend everything
  • Account for comparative context — "18% APY is good" means something different if every other pool is at 30%

Dashboard AI Picks vs Personalised Alerts — What's the Difference?

YieldSage generates two types of AI output every hour:

Dashboard Picks

The three recommendation cards shown on the web dashboard. These are market-wide — the best opportunity across all protocols for each risk tier, displayed identically to every visitor.

Personalised Telegram Alerts

Sent individually to each user based on their risk preference. The AI also considers your active paper trades — if a better opportunity has appeared within your risk tier since you last entered a trade, it highlights the switch. No two users receive the exact same alert.

⚠️ This is not financial advice
YieldSage is an intelligence tool, not a financial advisor. The AI's reasoning reflects data analysis and pattern recognition — not regulated financial guidance. Always do your own research before depositing real funds into any DeFi protocol. Yields in DeFi carry real risks including smart contract vulnerabilities, liquidation risk, and market volatility.
06 / Verifiability

On-Chain Proof — How YieldSage Earns Your Trust

The complete technical explanation of how every recommendation is permanently verified on the Mantle blockchain — explained so anyone can understand it.

YieldSage makes a bold claim: every AI recommendation it has ever produced is verifiable, immutable, and publicly accessible to anyone, forever. Here's exactly how that works.

The Problem: How Do You Know the AI Said That?

Imagine an AI system that tells you a pool is a great investment today, but then the pool performs badly. In a traditional system, the company could quietly edit or delete the recommendation — and you'd have no way to prove it ever existed. This is a fundamental trust problem. YieldSage solves it by making every recommendation impossible to alter after it's created.

Step 1 — Building the Canonical Payload

When the AI produces a recommendation, YieldSage assembles all of the important data into a single structured document called the canonical payload. "Canonical" means it's always assembled in exactly the same way — same field names, same order, same formatting rules — regardless of when or where it's created. This payload includes:

versionThe schema version (e.g. 1.0) to ensure future changes don't break verification
scored_atThe exact UTC timestamp when the AI ran — set before the model is called
protocol_nameThe DeFi protocol name (e.g. Merchant Moe)
pool_nameThe specific pool (e.g. USDe-WMNT)
pool_addressThe on-chain contract address in lowercase
risk_tagThe AI-assigned tier: stable, moderate, or aggressive
rankThe position within this risk tier (1 = top pick)
apy_at_timeThe exact APY at the moment of scoring, stored as a 4-decimal string
tvl_usdThe total value locked at scoring time, as a 2-decimal string
ai_reasoningThe verbatim text of the AI's reasoning, trimmed of whitespace
ai_modelThe exact model identifier used (e.g. llama-3.1-70b)
chainAlways 'mantle' for this version
chain_idAlways 5000 — Mantle Network's numeric identifier
sourceThe Dune query ID used as the data source

Step 2 — The SHA-256 Fingerprint

Once the payload is assembled, it's converted to a canonical JSON string — all fields sorted alphabetically, no extra spaces, UTF-8 encoded. This string is then passed through the SHA-256 hashing algorithm.

SHA-256 is a cryptographic function that takes any piece of data and produces a unique 64-character string called a hash or fingerprint. The most important property of SHA-256 is this:

🔐 The One-Way Guarantee
Change even a single character in the original data — a space, a capital letter, one digit in the APY — and the resulting hash changes completely and unpredictably. You cannot reverse-engineer the original data from the hash alone. This means: if the hash matches, the data is 100% identical to what was originally fingerprinted. No exceptions.

The hash looks something like this: a3f6d192b5e8c041... (64 hex characters total). This is the recommendation's digital fingerprint.

Step 3 — Embedding the Hash in a Mantle Transaction

The hash is then prefixed with a YieldSage identifier: yieldsage:<hash>. This string is embedded as the data field of a transaction on the Mantle blockchain.

The transaction is a self-transfer — it sends 0 MNT from YieldSage's wallet to itself. This means no funds move, and the transaction's only purpose is to record the hash on the blockchain. Once the transaction is confirmed (which takes seconds on Mantle), the hash is permanently, publicly, and immutably recorded. The Mantle blockchain is a public ledger — anyone in the world can see this transaction, forever.

The system includes retry logic: if the first attempt to submit the transaction fails (due to network congestion or an RPC issue), it automatically retries up to 3 times with increasing delays. If the transaction still fails after all retries, the hash is still stored in the database — and a background job runs every 6 hours to retry any recommendations that haven't yet been committed to the chain.

Step 4 — Verifying in Your Own Browser

The Proof Verification page (/verify?tx=<transaction hash>) lets you independently verify any recommendation without trusting YieldSage at all. Here's what happens when you open it:

  1. 1
    YieldSage fetches the original recommendation from the database
    This includes the complete canonical payload exactly as it was assembled before hashing.
  2. 2
    The canonical JSON string is rebuilt locally in your browser
    The same serialisation logic runs client-side — sorted fields, no extra whitespace.
  3. 3
    Your browser computes the SHA-256 hash independently
    Using the Web Crypto API — a standard browser feature. YieldSage's servers play no role in this step.
  4. 4
    The computed hash is compared to the one stored in the database
    If they match: Perfect Match. The data is identical to what was originally fingerprinted. If they don't: the data has been altered.

Why This Matters

This system means that YieldSage cannot retroactively change or delete any recommendation. If it tried to alter a recommendation in the database, the hash would no longer match — and anyone who visits the verification page would immediately see "Hash Mismatch — Tampered!". The blockchain record is the source of truth, and the blockchain is controlled by nobody — it's a global public ledger that will exist for as long as Mantle Network exists.

This is what trustless verifiability means: you don't have to trust YieldSage. You can verify everything yourself.

07 / Telegram Bot

The YieldSage Telegram Bot — Your DeFi Assistant

Everything you can do with @YieldSageBot and how to get the most out of it.

The Telegram bot at t.me/YieldSageBot is your real-time DeFi assistant. It runs 24/7, responds to your commands within seconds, and proactively alerts you when the market changes in ways that matter to your portfolio. You don't need to have the website open — the bot brings the intelligence directly to your phone.

Available Commands

/start

Registers your account and shows the main interactive menu with buttons for all key features. This is the first command to run.

/yields

Displays a paginated, scrollable view of all current yield opportunities across every tracked Mantle protocol. Tap Next/Prev to navigate pages.

/trade

Opens the paper trading flow. You can select a pool from the paginated list, specify how much USD to simulate investing, and the bot records the trade on your profile.

/positions

Shows all your currently active paper trades with their entry APY, the current APY, the simulated profit or loss, and how long each has been open.

/alerts

Toggles your hourly alert subscription on or off. When on, you receive a personalised market update every hour — tailored to your risk preference.

/risk

Changes your risk preference between Stable, Moderate, and Aggressive. This affects which recommendations appear in your personalised alerts.

/prompts

Lazy to think of prompts? This command shows you the best prompts to use with the bot.

/verify

Verify yield data by providing a pool address and clicking on the Verify button.

/help

Get help with using the bot.

The Simulate Feature — Paper Trading from the Web Dashboard

Any pool visible on the YieldSage web dashboard has a Simulate button. When you click it, a dialog appears asking how much USD you want to simulate investing. After you enter an amount and click Approve, your browser opens Telegram with a pre-filled command that looks like this:

/trade address=0x5d54d430d1fd9425976147318e6080479bffc16d amount=10000 token=merchant-moe (USDe-WMNT)

The bot reads the pool contract address directly from this command, looks up its current APY, and records the paper trade instantly — no need to navigate any menus. The pool address is extracted from the command or from the full Mantlescan URL (either format works).

Personalised Hourly Alerts — What They Include

When alerts are enabled, you receive a message every hour that includes:

  • The current best opportunity within your chosen risk tier, with the AI's reasoning
  • A comparison of where you are vs where you could be (if you have active paper trades)
  • Any significant APY changes across all pools since the last update
  • A one-line market summary (e.g., "Stable yields rose 2% on average this hour as liquidity shifted")
💡 Pro tip: Use /alerts to manage notification fatigue
If hourly alerts feel like too much, you can disable them at any time with /alerts and re-enable them when you're ready to actively monitor the market. Your paper trade positions remain active regardless.
08 / Data Pipeline

How YieldSage Collects and Processes On-Chain Data

A transparent explanation of where the data comes from and how it gets into your dashboard.

The Data Source: Dune Analytics

YieldSage pulls all of its yield data from Dune Analytics — a professional on-chain data platform that allows developers to write custom SQL queries against raw blockchain data. This approach means the data comes directly from Mantle's on-chain records, not from any protocol's own self-reported API (which could be manipulated or delayed).

YieldSage maintains a custom Dune query (Query ID: 7595582) that extracts the following for every active Mantle liquidity pool: pool address, protocol name, asset pair, current APY, base APY, reward APY, TVL in USD, reward tokens, and 1D/7D/30D APY trends.

The Fetching Cycle — Every Hour, Without Fail

The fetching system is built for reliability. Every hour:

  1. The scheduler validates the active API key's credit balance and selects the next available key if needed
  2. The query is executed on Dune — Dune runs the SQL against the latest blockchain data
  3. The system monitors the execution status and waits for completion
  4. The results are downloaded as a CSV file
  5. The CSV is parsed and each row is matched to an existing protocol in the database (or a new protocol is created if it's new)
  6. A new yield snapshot is inserted for each pool — a timestamped record of all metrics at this exact moment
  7. The active key is cycled forward to distribute load across the next scheduled run

If a query execution fails, the system does not give up. It retries the execution up to 30 times within the same trial, waiting 15 seconds between each attempt and continuously monitoring the query status until it either completes or exhausts all attempts. If all 30 attempts within a trial fail, the system resets and begins a fresh trial — up to 3 trials in total. This means the fetcher makes up to 90 total execution attempts before a fetch session is considered failed. At the start of each new trial, the system validates the active key's credit balance and rotates to the next available key if needed. If all 3 trials are exhausted, the previous data remains visible on the dashboard — it is never wiped — and the next scheduled hourly run starts the entire process fresh.

Protocol Auto-Registration

When a new protocol or pool appears in the Dune data for the first time, YieldSage automatically creates a record for it in the database. The system intelligently infers the initial risk tier: pools containing stablecoin assets (USDC, USDT, DAI, USDB, etc.) are initially classified as Stable, while everything else starts as Moderate. The AI Scoring Engine may override this classification based on further analysis.

The Database — Your Data, Always Available

All data is stored in Supabase — a managed PostgreSQL database with enterprise-grade reliability. The key tables are:

protocols

One record per unique pool — stores the protocol name, pool name, contract address, risk tier, logo URL, and app link.

yield_snapshots

A time-series of all metrics for every pool, with a new row inserted every hour. This powers the APY history charts.

recommendations

Every AI recommendation ever generated — with the AI reasoning, APY at time, risk tier, and the on-chain transaction hash for verification.

paper_trades

Each user's simulated trades, recording the entry APY, entry amount, and current status.

telegram_messages

A log of every message sent or queued for delivery via the Telegram bot.

alert_preferences

Per-user alert settings — whether alerts are enabled and what thresholds trigger them.

09 / API Reference

REST API Endpoints

The public API endpoints used by the dashboard — open for developer access.

GET/api/yields/leaderboard
Returns paginated yield opportunities, filterable by risk, APY, and TVL
GET/api/stats/overview
Headline summary statistics for the dashboard overview cards
GET/api/recommendations/latest
Returns the most recent AI recommendation for each risk tier
GET/api/recommendations/history
Paginated historical log of all on-chain verified recommendations
GET/api/recommendations/verify/{tx_hash}
Returns the original payload and canonical JSON string for a given transaction hash, enabling browser-side SHA-256 verification
GET/api/yields/history/{protocol_id}
Time-series APY history for a specific protocol, used to power the APY charts
GET/api/yields/watchlist
Returns yield data for a list of specific protocol IDs (used for the watchlist feature)
ℹ️ Base URL
The API base URL resolves automatically based on environment. All endpoints support CORS and return JSON.
10 / FAQ

Frequently Asked Questions

Answers to the most common questions about how YieldSage works.