← Back to home

LevYieldX

Cross-chain leveraged yield farming strategies based on your risk tolerance and portfolio.

Screenshots

LevYieldX screenshot 1
LevYieldX screenshot 2
LevYieldX screenshot 3

Problem Statement

This project is an API that provides all the information necessary to identify the best cross-chain leveraged yield farming strategies and to execute them. Users can input the liquidity amount, preferred base collateral tokens, leverage usage, chains, and protocols. The API will present all possible strategies, and once the user has selected one, all the transactions required to execute it.Example: Bob has $10,000 USDT. The API found two profitable strategies.// Total APY = 5%, Gas Cost = $0.05Supply $10,000 USDT to AaveV3 on Arbitrum for 5% APY.// Total APY = 7.4%, Gas Cost = $15.00Supply $10,000 USDT to AaveV3 on Arbitrum for 5% APY.Borrow $8,000 WETH from AaveV3 on Arbitrum for 3% APY.Bridge WETH to Ethereum.Supply $8,000 WETH to Compound III on Base for 6% APY.

Solution

This project is built with Go. It directly interacts with the yield protocol smart contracts via GETH Go bindings. It supports AaveV3 and Compound III out of the box and other protocols can easily be added. After fetching all relevant market info, it runs BFS to find all possible strategies. These are then ranked by APY. If a strategy is cross-chain, Synapse bridge is used for token compatibility. Requests are handled using the Chi framework.

Hackathon

ETHGlobal New York

2024

Prizes

  • 🏆

    🥈 Aave — Best Integration

  • 🏆

    🏊‍♂️ Arbitrum — Pool Prize

Contributors