Skip to content
Alioth

Alioth

Better yield, less hassle

Created on 27th June 2025

•

Alioth

Alioth

Better yield, less hassle

The problem Alioth solves

The Problem Alioth Solves

Core DeFi Problems

Fragmented Opportunities

Best yields are scattered across chains and protocols. Users miss opportunities or pay high gas fees chasing rates.

Research Overload

Evaluating protocols requires analyzing security audits, TVL, utilization rates, and smart contract risks

Manual Rebalancing

Optimal allocations change daily, but manual rebalancing is expensive and slow. By the time you act, rates have changed.

Cross-Chain Complexity

Chasing yields across chains requires lots of transactions, bridges, swaps, and approvals.


How Alioth Solves This

** One-Click Cross-Chain Optimization**

Deposit on any chain, automatically earn yield on the optimal chain via Chainlink CCIP.

** AI-Powered Recommendations**

Combines Chainlink feeds with data sources for risk-adjusted allocation strategies.

** Verified Data Integrity**

All APY claims validated against Chainlink oracles - cannot be manipulated.


Who Benefits

  • Retail Users: Yield farming becomes as easy as a savings account
  • Portfolio Managers: Algorithmic allocation with real-time optimization
  • Developers: Simple API integration vs building complex infrastructure

Real Impact

  • Time Saved: 45 minutes → 2 minutes per optimization
  • Yield Improvement: +2-5% APY through better allocation
  • Risk Reduction: Chainlink-verified data prevents manipulation

Challenges we ran into

Challenges I Ran Into

CCIP Stale Data Issues Causing Deposit Failures

The Problem

The biggest challenge was dealing with stale price feed data when using CCIP for cross-chain deposits. Chainlink price feeds on testnets would sometimes not update for hours, causing our deposit validation to fail.

Specific Issues:

  • Testnet Feed Reliability: Price feeds on Sepolia, Base-Sepolia, and Fuji would go stale over 1 hour.
  • Deposit Validation Failures: Our contracts require fresh price data to validate deposits, but stale feeds caused all deposits to revert
  • Cross-Chain Timing: CCIP messages would succeed but destination deposits would fail due to stale price validation
  • User Experience: Users would see failed transactions without understanding why

Root Cause:

function getValidatedPrice(address token) internal view returns (uint256) {
    (uint80 roundId, int256 price, , uint256 updatedAt, ) =
        tokenFeeds[token].priceFeed.latestRoundData();

    // This would fail when updatedAt was > 1 hour old
    require(block.timestamp - updatedAt <= 3600, "Price feed stale");

    return uint256(price);
}

Solution: Mock Aggregators + Chainlink Automation

We deployed mock aggregators that implement the AggregatorV3Interface and use Chainlink Automation to update prices every 55 minutes, ensuring fresh data.

image

contract MockV3Aggregator is AggregatorV3Interface, AutomationCompatibleInterface {
    uint256 public immutable interval = 3300; // 55 minutes
    uint256 public lastTimestamp;

    function checkUpkeep(bytes calldata) external view override
        returns (bool upkeepNeeded, bytes memory) {
        upkeepNeeded = (block.timestamp - lastTimestamp) >= interval;
        return (upkeepNeeded, "");
    }

    function performUpkeep(bytes calldata performData) external override {
        require((block.timestamp - lastTimestamp) >= interval, "Interval not elapsed");

        int256 newAnswer = abi.decode(performData, (int256));
        _update(newAnswer);
    }
}

Active Chainlink Automation Upkeeps:

Results:

  • ✅ 99.9% Uptime: Feeds now update every 55 minutes automatically
  • ✅ Zero Stale Data Failures: Deposits no longer fail due to outdated prices
  • ✅ Reliable Cross-Chain: CCIP messages execute successfully on destination chains
  • ✅ Better UX: Users can deposit without worrying about feed staleness

image

Tracks Applied (4)

Onchain Finance

How Alioth Fits into the Onchain Finance Track Direct Track Match Alioth is the "AI-powered onchain yield optimizer" e...Read More

Cross-Chain Solutions

How Alioth Fits into the Cross-Chain Solution Track Core Cross-Chain Functionality Alioth is fundamentally a cross-cha...Read More

Best Use of ElizaOS

How Alioth Fits into the DeFi & Web3 Agent Track Perfect Agent Track Match Alioth directly implements "yield strategie...Read More

ElizaOS

Avalanche Track

Alioth is deployed on Avalanche
Avalanche

Avalanche

Discussion

Builders also viewed

See more projects on Devfolio