Skip to content

Smart Solana LP automation engine that tracks Meteora, Raydium, and Orca vaults, rotates capital to the highest-yield pools, and keeps you informed via instant notifications.

Notifications You must be signed in to change notification settings

machenxi/solana-yield-farmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Solana Yield Farming Optimizer

Smart Solana LP automation engine that tracks Meteora, Raydium, and Orca vaults, rotates capital to the highest-yield pools, and keeps you informed via instant notifications.

Solana CLI Ready Docs

Why This Optimizer Matters

Most “auto-compounders” are opaque and slow to react when APYs swing. This optimizer is designed for on-chain desks that need verifiable logic, low-latency market data, and the ability to plug in their own execution stack. The repository delivers:

  • 📈 Real-time APY intelligence across leading Solana liquidity platforms.
  • 🔁 Deterministic rotation rules so allocations move only when your thresholds are met.
  • 📣 Alert-first workflow with Telegram/Discord hooks before any rebalance.
  • 🧩 Composable provider interfaces to add custom vault feeds or private incentives.
  • 🔐 Local-only control—wallet secrets never leave your infrastructure.

Project Highlights

Capability Details
Vault Monitoring Normalized APY/tvl data for Meteora, Raydium, Orca, and custom feeds.
Rotation Engine BPS-based triggers, slippage guards, and wallet allocation caps.
Harvest Scheduler Configurable intervals with accrued-yield reporting.
Analytics Dashboard Rich terminal UI summarizing blended APY, TVL coverage, and position mix.
Notification Layer Telegram and Discord adapters, easily extended to Slack/Webhooks.

Quick Start

Example workflow; adjust commands to match your environment.

git clone https://github.com/you/solana-yield-farming-optimizer.git
cd solana-yield-farming-optimizer
python -m venv .venv && source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install -e .
cp config.example.yaml config.yaml
solana-optimizer once -c config.yaml   # single monitoring cycle
solana-optimizer serve -c config.yaml  # continuous dashboard + alerts

Configuration

Section Key Fields Description
network rpc_endpoint, commitment Point to your preferred RPC provider (e.g., Helius, Triton).
wallets[] address, private_key_path, max_allocation_pct Define per-wallet caps to avoid overexposure.
strategy harvest_interval_minutes, rotation_threshold_bps, min_apy, target_vaults[] Customize harvest cadence, rotation sensitivity, and whitelisted vaults.
notifications Telegram/Discord credentials Toggle alerts per channel.
analytics dashboard_refresh_seconds Control how often the CLI dashboard refreshes.

Architecture Overview

  1. Providers Layer – Each DEX/LP venue implements VaultProvider and returns standardized Vault objects.
  2. EngineOptimizerEngine aggregates vault metrics, evaluates rotation logic, and schedules harvests.
  3. AnalyticsDashboardSnapshot feeds a Rich terminal table or custom UI exporter.
  4. Notifiers – Abstract base enables multiple transports (Telegram, Discord, Slack).
  5. CLI – Typer-based interface exposes once, serve, and harvest subcommands for devops scripts or cron jobs.

Roadmap & Ideas

  • ✅ Mock integrations + alerting scaffold.
  • 🔜 Native transaction signing (Anchor / Solana web3.js bridge).
  • 🔜 Historical performance DB + Grafana dashboards.
  • 🔜 Strategy plug-ins for delta-hedged LP positions or basis trades.

FAQ

Does it take custody of keys?
No. Key material stays on your server. Execution hooks are provided so you can wire in your own signer or MPC flow.

Can it run headless?
Yes. The CLI logs JSON summaries; disable ANSI colors by setting TERM=dumb when running on barebones VPS instances.

How do I add a new venue?
Create optimizer/providers/<venue>.py, subclass VaultProvider, and register it inside the engine’s provider list.

SEO Keywords

solana yield farming optimizer, solana apy tracker, meteora vault automation, raydium auto compounder, orca lp manager, solana liquidity rotation bot, defi farming engine solana, solana harvesting scheduler, solana telegram trading alerts, solana cli trading toolkit, best solana yield bot 2025, solana defi automation stack, solana lp analytics dashboard, solana vault notification system, solana strategy rotation script

Suggested Repository Topics

solanayield-farmingdefi-automationliquidity-providerraydiummeteoraorca-dexcli-toolstrading-botapy-tracker


Licensed under MIT. Contributions and venue plugs are welcome—feel free to open an issue with the strategies you’d like to automate.*** End Patch*** End Patch

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages