Project case study Dar Blockchain

Yieldera.

Yieldera is an AI-powered automated liquidity management protocol built for the Hedera network. It executes intelligent vault strategies across SaucerSwap (Uniswap V3) concentrated-liquidity positions and Bonzo lending pools, pairing Solidity smart contracts on Hedera EVM with a high-concurrency Rust backend and a dedicated Model Context Protocol (MCP) server that empowers Gemini agents to safely inspect and optimize on-chain capital.

Role
Protocol Architect · Backend & Smart Contract Engineer
Domain
Hedera DeFi · Concentrated Liquidity (Uniswap V3) · Model Context Protocol (MCP) · AI Agents

System at a glance

What the system does

01

Automated concentrated-liquidity rebalancing

02

Model Context Protocol (MCP) blockchain tooling

03

SaucerSwap V3 & Bonzo Finance multi-protocol routing

04

Hedera Token Service (HTS) & EVM vault mechanics

Architecture flow

From intent to verified state.

  1. 01

    Users deposit native HBAR or HTS assets (USDC, SAUCE) into the YielderaVault smart contract, receiving proportional shares.

  2. 02

    A Tokio-powered Rust backend continuously evaluates pool tick ranges, price volatility, and liquidity depth on SaucerSwap.

  3. 03

    Automated rebalancing algorithms compute optimal price bounds to maximize trading fee capture while mitigating impermanent loss.

  4. 04

    A specialized Rust MCP server exposes deterministic blockchain tools (balances, Bonzo lending, tick calculations) to a Gemini AI agent.

  5. 05

    The React dashboard provides real-time telemetry, multi-wallet connectivity (HashPack, Blade, Kabila, MetaMask), and natural-language AI interactions.

01 / Smart contracts

Hedera-native vaults with concentrated liquidity mechanics

Core custody and liquidity deployment engineered in Solidity for Hedera's EVM layer and SaucerSwap pools.

01.1

SaucerSwap V3 integration

Coordinates concentrated-liquidity positions on SaucerSwap (Uniswap V3 model), executing automated position mints, burns, fee collections, and rebalancing directly against decentralized pool contracts.

01.2

HTS & native asset handling

Natively supports HBAR and Hedera Token Service (HTS) tokens such as USDC and SAUCE, enforcing precision normalization, token associations, and safe transfer boundaries.

01.3

Fee compounding & share accounting

Trading fees and incentive rewards are systematically harvested and reinvested into active tick ranges, updating internal vault share valuations without exposing reentrancy attack surfaces.

01.4

Foundry verification & safety

Developed and tested with Foundry forge suites, featuring verifiable deployment scripts targeting Hedera testnet and mainnet with HashScan and Sourcify contract verification.

02 / Backend engine

Asynchronous Tokio & Actix Web liquidity management

A high-throughput Rust service orchestrating multi-vault telemetry, automated rebalance triggers, and administrative controls.

02.1

Concurrent multi-vault state

Maintains lock-free concurrent runtime state across all managed vaults using DashMap and dedicated Tokio worker tasks, preventing head-of-line blocking during network latency spikes.

02.2

Automated rebalancing triggers

Continuously evaluates market price deviations against configured tick tolerances, initiating contract rebalances when positions shift outside profitable fee-generating intervals.

02.3

Alloy & typed RPC bindings

Utilizes Alloy full-suite providers and Solidity type bindings for high-throughput, type-safe RPC communication with Hedera JSON-RPC relays.

02.4

Production OpenAPI & telemetry

Exposes vault management and monitoring endpoints documented interactively via Utoipa Swagger UI, accompanied by structured file and console logging via tracing-subscriber.

03 / Agentic AI & MCP

Model Context Protocol tooling for verified blockchain execution

Bridging large language models to on-chain financial operations through typed, deterministic MCP primitives.

03.1

Rig framework integration

Connects Google Gemini models with the Rig agent framework to parse natural-language portfolio inquiries and generate actionable liquidity strategies.

03.2

Deterministic MCP tools

A standalone Rust server implements the Model Context Protocol, exposing secure tools for account balance queries, token transfers, and Bonzo lending protocol interactions.

03.3

Mathematical verification tools

MCP calculator modules compute exact tick math, fee APY projections, and impermanent loss simulations before any strategy recommendation is delivered.

03.4

Advisory-first safety boundary

Keeps generative reasoning strictly advisory; execution parameters are rigorously bounded by smart contract validation and admin permission checks.

04 / Cross-protocol DeFi

Synergistic yield between SaucerSwap and Bonzo Finance

04.1

Bonzo lending market integration

Allows idle liquidity and rebalancing reserves to be supplied directly into Bonzo Finance lending pools, generating continuous baseline interest alongside DEX fees.

04.2

Capital efficiency balancing

Dynamically reallocates capital between active DEX trading ranges during high-volume periods and money-market lending during low-volatility regimes.

04.3

Hedera ecosystem wallet UX

Integrates both Hedera native account formats and EVM addresses across HashPack, Blade, Kabila, and MetaMask wallets within a real-time cyberpunk dashboard.

Continue exploring

More systems, protocols, and practical tools.