go-defi is a Golang client, and library for interacting with the Defi API protocols Aave and Compound.Finance, and interacting with their contracts, allowing for the creation of bots trading with the Aave/Compound protocol.
WARNING: this code deals with money both by making blockchain calls and returning information that can be used to
lose/gain money. Please use cautiously and dont come complaining if you end up losing money.
Contents
abi contains json abi definitions for various compound smart contracts
bindigns contains abigen generated golang bindings for the various abi's
client contains a client library to build applications that use the Aave/Compound API and interact with the smart
contracts
cmd contains a small command-line client
models contains Golang types for the various responses that the API gives. Currently it has types
for CTokenService and AccountService responses.
pb contains protobuf definitions for the compound APIs. Do not use
sampler contains sampler configurations to enable console based monitoring of
your compound accounts