EigenLayer integration includes an AVS contract and an off-chain operator. The off-chain operator reacts to the key event of price change originating from a Uniswap pool (tracked by the Hook) and automates Liquidity Position management by initiating on-chain actions on behalf of the user, following a predetermined strategy.
Github:https://github.com/just2102/LongPlay Slides: Project Link:https://long-play.vercel.app/ Demo Video:https://youtu.be/CE2JGtrpKeU
I wanted automation I’d actually trust and use as an LP. My strategy for assets like BTC/ETH is long-term accumulation, i.e., I don't care what their prices are and providing liquidity is just a way of earning more ETH/BTC. Uniswap can compound capital by earning trading fees and buying more of the asset on dips. Hence the project name, LongPlay.
Example: Lend ETH, borrow USDC, supply to ETH-USDC, earn fees + buy ETH at a lower price as the price goes down. Price goes below the range => withdraw ETH from Uniswap => Repeat. Automation feels quite convenient, if not necessary.
The project is aimed at active DeFi users who aim to maximize their earnings without babysitting price charts. It might also attract long-term BTC/ETH holders who prefer to stick to their strategy no matter the current asset price while profiting from LP fees.
A few unique features of the project are:
The most challenging part was building the on-chain <--> off-chain communication. Hopefully building on EigenLayer will get easier with the recent DevKit release!