Interact with Compound DeFi protocol. The compound API supports pagination for querying all records by specifying a current page number. This program fetches all accounts utilizing golang's channel primitive for maximum concurrency. There is some internal rate-limiting to prevent being throttled by Compound / DynamoDB servers and/or opening too many file descriptors locally.
go get github.com/davidiola/compound_go_monitor
go run main.go