
Aave V3 liquidation monitors your borrow positions on Ethereum, Polygon, Arbitrum, Optimism, and Avalanche. It calculates your real-time health factor from on-chain data and fires alerts — to your terminal, Discord, or webhook — before the health factor hits the liquidation threshold.
1. Install and configure:
npm install -g @aave/liquidation-monitor aave-monitor config --address 0xYourWallet --chains ethereum,polygon,arbitrum
2. Set alert thresholds:
addresses:
- 0xYourWallet
alerts:
- channel: discord
webhook: https://discord.com/api/webhooks/your-webhook
threshold_health_factor: 1.5
polling_interval_seconds: 303. Run the monitor:
aave-monitor start
When you borrow assets on Aave, the protocol assigns you a Health Factor (HF):
HF = (Total Collateral x Liquidation Threshold) / Total Borrowed Value
When HF < 1.0, anyone can call liquidate() on the Aave V3 pool contract. The liquidator buys your collateral at a 5-10% discount. The liquidation bot ecosystem is competitive — bots monitor the mempool 24/7.
This skill helps you stay ahead of the bots.
| Pros | Cons |
|---|---|
| Multi-chain position monitoring | Requires an RPC endpoint |
| Real-time health factor from on-chain prices | Alert latency matters — fast bots still have an advantage |
| Configurable alert channels | No GUI — CLI/config only |
If you have borrow positions open on Aave V3, you need this. The cost of a liquidation bot winning your position is real and irreversible. A 30-second polling interval with a Discord alert gives most traders enough time to act.