Service that observes DeFi positions on AAVE lending protocol for given eth account and returns useful data, such as health factor.
Then it uses Matrix protocol, to notify person about it (thanks matrix-commander)
The program runs indifinitely (until it crashes lol) and periodically (1 hour) fetches data from TheGraph DeFi protocol that queries AAVE v3 Arbitrum position for specified ETH account (Arb ETH) and then it sends health factor to specified matrix room ID as a message.
Health Factor: 1.59 @ 2024-10-09 19:27:16
- have matrix-commander installed and logged-in
- have The Graph api key
- have Golang installed (ofc)
- set env vars to
.env
(see.env.example
) - Run it
$ go run main.go
$ go build -o notificator
$ ./notificator
or in the background
$ nohup ./notificator nohup.out
All contributions are welcome, I'm building something for myself, but it might satisfy even somebody else's needs. Let's make good shit together