Tiny service that enriches any portfolio tracker with Compound v3 borrow health via webhook.
- HTTP endpoint:
POST /enrichwith{ address } - Respond with
{ health: boolean, baseBorrow, baseSupply } - Reads from RPC; no storage
cp .env.example .env
RPC_URL=http://127.0.0.1:8545
COMET_ADDRESS=0xc3d688B66703497DAA19211EEdff47f25384cdc3
npm install
npm run build- Add tiny Express server and a
POST /enrichroute - Example cURL + Postman collection