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.
Every hour, YieldSage queries on-chain data from all tracked Mantle protocols and refreshes every metric on the dashboard automatically.
A multi-model AI cascade analyses every pool and produces ranked recommendations — categorised into Stable, Moderate, and Aggressive risk tiers.
Every recommendation is SHA-256 fingerprinted and committed to Mantle as a transaction. Zero trust required — you can verify everything yourself.
A complete walkthrough of everything that happens behind the scenes, every single hour.
System Architecture — Data Flow
A complete guide to every section of the dashboard and how to use it effectively.
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:
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 main table shows every tracked pool ranked and filterable. Here's how to use it:
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.
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.
Click any metric below for a detailed explanation of what it is, why it matters, and how to interpret it.
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.
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:
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:
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.
The AI is given a structured prompt that instructs it to evaluate each pool across several dimensions. It is specifically guided to:
YieldSage generates two types of AI output every hour:
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.
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.
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.
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.
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 verificationscored_atThe exact UTC timestamp when the AI ran — set before the model is calledprotocol_nameThe DeFi protocol name (e.g. Merchant Moe)pool_nameThe specific pool (e.g. USDe-WMNT)pool_addressThe on-chain contract address in lowercaserisk_tagThe AI-assigned tier: stable, moderate, or aggressiverankThe position within this risk tier (1 = top pick)apy_at_timeThe exact APY at the moment of scoring, stored as a 4-decimal stringtvl_usdThe total value locked at scoring time, as a 2-decimal stringai_reasoningThe verbatim text of the AI's reasoning, trimmed of whitespaceai_modelThe exact model identifier used (e.g. llama-3.1-70b)chainAlways 'mantle' for this versionchain_idAlways 5000 — Mantle Network's numeric identifiersourceThe Dune query ID used as the data sourceOnce 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 hash looks something like this: a3f6d192b5e8c041... (64 hex characters total). This is the recommendation's digital fingerprint.
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.
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:
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.
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.
/startRegisters your account and shows the main interactive menu with buttons for all key features. This is the first command to run.
/yieldsDisplays a paginated, scrollable view of all current yield opportunities across every tracked Mantle protocol. Tap Next/Prev to navigate pages.
/tradeOpens 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.
/positionsShows 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.
/alertsToggles your hourly alert subscription on or off. When on, you receive a personalised market update every hour — tailored to your risk preference.
/riskChanges your risk preference between Stable, Moderate, and Aggressive. This affects which recommendations appear in your personalised alerts.
/promptsLazy to think of prompts? This command shows you the best prompts to use with the bot.
/verifyVerify yield data by providing a pool address and clicking on the Verify button.
/helpGet help with using the bot.
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:
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).
When alerts are enabled, you receive a message every hour that includes:
A transparent explanation of where the data comes from and how it gets into your dashboard.
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 system is built for reliability. Every hour:
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.
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.
All data is stored in Supabase — a managed PostgreSQL database with enterprise-grade reliability. The key tables are:
protocolsOne record per unique pool — stores the protocol name, pool name, contract address, risk tier, logo URL, and app link.
yield_snapshotsA time-series of all metrics for every pool, with a new row inserted every hour. This powers the APY history charts.
recommendationsEvery AI recommendation ever generated — with the AI reasoning, APY at time, risk tier, and the on-chain transaction hash for verification.
paper_tradesEach user's simulated trades, recording the entry APY, entry amount, and current status.
telegram_messagesA log of every message sent or queued for delivery via the Telegram bot.
alert_preferencesPer-user alert settings — whether alerts are enabled and what thresholds trigger them.
The public API endpoints used by the dashboard — open for developer access.
/api/yields/leaderboard/api/stats/overview/api/recommendations/latest/api/recommendations/history/api/recommendations/verify/{tx_hash}/api/yields/history/{protocol_id}/api/yields/watchlistAnswers to the most common questions about how YieldSage works.