Vault operations are operationally manual unless you automate them yourself.
You must host your own automation. Ranger Earn/Ranger does not provide managed bot services. You are responsible for deploying, running, and monitoring your own scripts and bots.
Why Automation Is Needed
Script Repositories
Rebalance Bot Template
The rebalance-bot-template is a production-ready bot that handles the core automation tasks listed above. It distributes funds equally across lending strategies on a fixed schedule and includes:
- Rebalance loop — equal-weight allocation across all strategies, triggered on interval and on new deposits
- Refresh loop — keeps on-chain receipt values up to date
- Harvest fee loop — collects protocol/admin/manager fees
- Claim reward loops — claims Kamino farm rewards and swaps them back via Jupiter
Supports Drift, Jupiter Lend, Kamino Market, and Kamino Vault strategies out of the box.
See the repository README for full configuration options and Replit deployment instructions.
Basic Script Shape
Operational Requirements
- keep manager and admin wallets funded with SOL
- add retries and alerting
- respect RPC limits
- make scripts idempotent where possible
- keep signing keys isolated from application code