Yo guys, recently I've started a LP on Arb chain to farm fees for both LEO/USDC pairing. And the results has been really great ! However I wanted to optimize my earnings on the LPs that I'm on and decided to get claude AI to help me with it.
What it does is that the both will periodically check your wallet for the LP (in this case LEO/USDC) pairs which is in Uniswap using the v4 pools and then see if its in range, or how its performing. It would then provide a Utilization score or let you know if you are currently out of range.
You'd be surprise on the APR at the moment as it went as high as 339%
Here is a prompt which I've generated to share with you all in the event you wanna try it out and I'm sure you can make something better. For me .. its just one of those little projects which makes it easier for me to monitor all my LPs.
🤖 QUICK SHARE: Recreate My LP Management Bot
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 COPY-PASTE THIS PROMPT TO CLAUDE/CHATGPT:
────────────────────────────────────────────────
Build me a production-ready Uniswap V3/V4 LP management bot for Arbitrum with these features:
CORE FEATURES:
TECH STACK:
PROJECT STRUCTURE:
src/
├── config/ (network.ts, tokens.ts)
├── utils/ (poolData, positionManager, calculateAPR, simulateIL, rangeAnalyzer)
├── bot/ (monitor, monitoringService, transactionBuilder)
└── CLI tools (findPool, analyzePool, autoCompound)
SAFETY FEATURES:
CLI COMMANDS:
npm run find-pool # Find pools
npm run analyze # View analytics
npm run compound --dry-run # Test compounding
npm run bot:monitor # Start monitoring
npm run bot:plan # Generate rebalancing plans
CONFIGURATION:
KEY CALCULATIONS:
MONITORING ALERTS:
REBALANCING PLANS:
Include comprehensive error handling, beautiful CLI output with colors and tables, detailed logging, and complete documentation (README, QUICK_START, troubleshooting).
Make it production-ready, secure, and user-friendly. Support both testnet and mainnet.
────────────────────────────────────────────────
⏱️ TIME TO BUILD: 30-60 minutes with AI
📦 WHAT YOU NEED:
🚀 QUICK START AFTER BUILD:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 PRO TIP: Start with "npm run analyze" to understand your position,
then use "npm run bot:once" to check health before setting up continuous monitoring.
⚠️ ALWAYS test with --dry-run first!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━