DeFi Sentinel
Automated DeFi protection that detects threats and tops up collateral before you get liquidated.
What it is
DeFi Sentinel is a real-time monitoring and automated protection system for DeFi users. When your Aave V3 health factor drops below a safe threshold, DeFi Sentinel automatically executes collateral top-ups from your personal SentinelVault — before liquidation happens. No manual action needed.
The problem: $3.8 billion was lost to DeFi liquidations in 2024. Most users cannot monitor positions 24/7 and react too slowly when health factors drop. Existing tools only send alerts — they don't act.
DeFi Sentinel closes the full protection loop:
- Chainlink CRE workflow runs every 5 minutes, reading your Aave V3 health factor live on Sepolia
- If health factor drops below 1.5, the workflow calls AutoProtector.executeProtection() on-chain
- AutoProtector pulls USDC from your SentinelVault and supplies it to Aave on your behalf
- Your position is saved automatically — on-chain, verified, logged by ForensicsLogger
- Real-time dashboard shows live prices, threat feed, and service health
How it Works
Frontend: Next.js 14, React, Tailwind CSS
Backend: Node.js, Express, TypeScript, Ethers.js
Smart Contracts: Solidity 0.8.20, Hardhat, OpenZeppelin
Automation: Chainlink CRE TypeScript workflows
Price Data: Chainlink Data Feeds + CoinGecko API
Alerts: SendGrid email notifications
Testnet: Ethereum Sepolia
Deployed contracts on Sepolia:
- SentinelCore: 0xa9D6084EE79142526121899B59D0b774A7F583d1
- ForensicsLogger: 0x83D71737B6499B6f9C0e68F47f9B7a08d2D3AC91
- AutoProtector: 0x3b29D86d5f9F755a17BfA04eD62ab01316C1F0cb
- SentinelVault: 0x2f3B8aC8B0d513acB2bb90775238616d018335D0
Links
Created by
- ANIRBAN ROY