The Compound protocol is a decentralized lending platform built on the Ethereum blockchain. Founded by Robert Leshner in 2017, it enables users to borrow and lend a wide range of cryptocurrencies in a permissionless manner, without the need for a traditional financial intermediary.
As a core component of the decentralized finance (DeFi) ecosystem, Compound provides a transparent, open-source system for earning interest on digital assets and obtaining loans against crypto holdings. The protocol is governed by its community through the COMP token, ensuring a decentralized and evolving structure.
How the Compound Lending Protocol Works
At its heart, Compound is a liquidity market. Users who supply crypto assets to the protocol begin earning interest immediately. These supplied assets are converted into cTokens, which are interest-bearing tokens that represent a user's share in a specific lending pool.
For borrowers, the process is straightforward. They can use their supplied crypto as collateral to take out loans in other supported assets. This creates a system of over-collateralized lending, which helps secure the protocol against volatility.
Supported Assets and Markets
The range of assets supported on Compound evolves through community governance. Historically, the platform has supported major tokens including DAI, ETH, USDC, ZRX, USDT, WBTC, BAT, and REP.
Each asset has its own isolated market with interest rates algorithmically adjusted based on supply and demand. When the demand to borrow a specific asset is high, its interest rate increases, incentivizing more suppliers to provide liquidity to that market.
👉 Explore more strategies for decentralized finance
Key Features of the Compound Ecosystem
Governance by COMP Token Holders
The COMP token is an ERC-20 standard token that grants holders the right to propose and vote on changes to the Compound protocol. This can include decisions on which new assets to add, adjustments to collateral factors, or modifications to the underlying code.
No Trading or Platform Fees
Unlike centralized exchanges, Compound does not charge fees for supplying assets, borrowing, or repaying loans. Users only pay the standard Ethereum gas fees required to process their transactions on the blockchain.
Advanced Functionality
The protocol has introduced several tools to enhance user experience:
- Advanced Trading: Allows bundling multiple transactions to save on gas costs.
- Compound III Position Migrator: Facilitates moving positions from older versions to newer markets.
- Automatic Liquidation Protection: Tools like DeFi Saver help users manage risk.
The Evolution of Compound: From V1 to V3
Compound has undergone significant upgrades since its launch. Each version has introduced improvements in capital efficiency, risk management, and user safety.
Compound V3, launched on August 25, 2022, represents a major architectural shift. Its key innovation is the use of a single base asset (initially USDC) for borrowing, while allowing multiple other cryptocurrencies to be used as collateral. This design reduces risk and improves the protocol's overall capital efficiency.
Security and Historical Incidents
As a pioneering DeFi protocol, Compound has navigated the complex landscape of smart contract security. In 2019, a security researcher identified a bug in the protocol's smart contract that could have allowed an attacker to mint an unlimited number of COMP tokens. The flaw was patched within 24 hours.
The protocol's open-source nature and community-led audits are central to its security model. All code changes are thoroughly reviewed and voted on by COMP token holders before implementation.
Frequently Asked Questions
What is the main use of the COMP token?
The COMP token is primarily used for governing the Compound protocol. Holders can create proposals and vote on changes, such as adding new assets or adjusting interest rate models. This ensures the platform remains decentralized and community-led.
How do I start earning interest on Compound?
To earn interest, you simply need to connect a Web3 wallet (like MetaMask) to the Compound app and supply any supported cryptocurrency. You will immediately begin earning interest, which is distributed in the form of cTokens.
Is it safe to lend crypto on Compound?
While no investment is without risk, Compound is one of the most established and battle-tested DeFi protocols. Risks include smart contract vulnerabilities and the potential for your collateral to be liquidated if its value drops significantly relative to your borrowed amount.
What is the difference between supplying and borrowing?
Supplying means depositing your crypto assets into the protocol to earn interest. Borrowing means using your supplied assets as collateral to take out a loan in a different cryptocurrency. You pay interest on borrowed funds.
Can I borrow without supplying collateral first?
No. Compound requires over-collateralization for all loans. This means you must first supply and lock up crypto assets that are worth more than the amount you wish to borrow.
What happens if my borrowed position becomes undercollateralized?
If the value of your collateral falls too close to the value of your loan, your position may be liquidated by the protocol to repay the borrowers. This ensures the system remains solvent. It is crucial to monitor your collateralization ratio.