Cross-chain leveraged yield farming strategies based on your risk tolerance and portfolio.
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.05
// Total APY = 7.4%, Gas Cost = $15.00
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.