# compound-finance/compound-protocol

The Compound On-Chain Protocol

Repository: https://github.com/compound-finance/compound-protocol
Canonical: https://ross.abutalabs.com/products/compound-protocol
Homepage: https://compound.finance/developers
Language: TypeScript
License: BSD-3-Clause
License Family: permissive
Last push: 2024-06-10T04:19:47+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2588, "days_push": 814, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2037, forks 1262 (observed 2026-08-28T04:06:08.132139+00:00)

## What it is
The Compound Protocol is an Ethereum smart contract system for decentralized lending and borrowing of crypto assets. Accounts supply Ether or ERC-20 tokens to receive cTokens, or borrow assets against collateral, with algorithmically set interest rates.

## Use cases
- supply crypto assets to earn interest on Ethereum
- borrow ERC-20 tokens against collateral
- deploy and integrate cToken lending markets
- build DeFi applications on top of Compound
- audit or fork an on-chain lending protocol
- simulate and test Comptroller risk model changes

## When to choose
- you need battle-tested, audited smart contracts for on-chain money markets
- you want to integrate lending/borrowing into an Ethereum application
- you're building a fork or extension of the Compound protocol

## When to avoid
- you need off-chain or non-Ethereum lending infrastructure
- you want a simple API without deploying or interacting with smart contracts
- you need a lending protocol on chains Compound doesn't support

## Facets
- artifact type: library
- maturity: maintenance
- function: blockchain, security, sdk
- domain: blockchain, fintech, developer-tools
- platform: -
- tags: defi, smart-contracts, lending, borrowing, erc20, interest-rates, decentralized-finance, cryptocurrency, ethereum, solidity, typescript

## Member repositories
- compound-finance/compound-protocol (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:08.132139+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:59:16.127573+00:00, confidence not recorded.
  - readme: https://github.com/compound-finance/compound-protocol (fetched 2026-08-28T04:06:08.132139+00:00, sha 6bd536dcf63a)
  - homepage: https://compound.finance/developers (fetched 2026-08-29T10:38:47.772946+00:00, sha 629d48c33e21)
- Data as of 2026-08-30T08:39:29.467469+00:00.
