Automated collateral protection for Aave V3 positions using the TriggerX Automation SDK and Safe Wallet.
This system continuously monitors your health factor and automatically tops up collateral whenever it drops below your specified threshold, protecting your position from liquidation 24/7.
Overview
The Aave TriggerX Automation System enables:
Real-time monitoring of your Aave V3 health factor
Automatic collateral top-ups when HF ≤ threshold
Secure execution via Safe Wallet
Decentralized automation using TriggerX
Public health-monitoring API (locally served, exposed via ngrok)
This system is ideal for users who want non-custodial, programmable protection for leveraged Aave strategies.
Prerequisites
Before getting started, ensure you have:
Software
Node.js v16+
npm or yarn
ngrok (for exposing local API)
Wallet Requirements
Wallet with:
ETH for gas
WETH for collateral top-ups
Active Aave V3 position (Optimism Sepolia recommended for testing)