> For the complete documentation index, see [llms.txt](https://docs.enzyme.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enzyme.finance/user-documentation/blue-management/protocols/compound-v3.md).

# Compound v3

<figure><img src="https://docs.enzyme.finance/~gitbook/image?url=https%3A%2F%2F2049782695-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWzXrybpj5e9VBbPlbYCJ%252Fuploads%252FPQAWmcrC9PlZXU6CypLK%252F231732124-ea0c51e0-62b9-4e6b-b43e-5f2762b3d57f.png%3Falt%3Dmedia%26token%3De9f099be-f55c-4ae1-ba4f-beee9a718f48&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=5825b1e6&#x26;sv=2" alt=""><figcaption></figcaption></figure>

[Compound](https://compound.finance/) is an algorithmic decentralized finance protocol built on the Ethereum blockchain that allows users to lend and borrow cryptocurrency assets. Compound operates autonomously through smart contracts and enables users to earn interest on their assets through a decentralized lending market.

With **Compound v3**, Enzyme extends this capability to enable **lending** on both **Ethereum** and **Polygon** networks.

#### How to Lend on Compound v3? <a href="#how-to-lend-on-compound-v3" id="how-to-lend-on-compound-v3"></a>

1. Go to your vault menu on the left-hand side panel and click on "Defi Protocols".
2. Select "Compound v3" from the protocols list.
3. On the Lend tab, search for the asset you wish to lend and click on "Lend".
4. Enter the amount you want to lend and click on "Lend".
5. Review the details of your transaction.
6. Confirm the transaction and sign it with your connected wallet.

#### How to Redeem on Compound v3? <a href="#how-to-redeem-on-compound-v3" id="how-to-redeem-on-compound-v3"></a>

1. Go to your vault menu on the left-hand side panel and click on "Defi Protocols".
2. Select "Compound v3" from the protocols list.
3. On the current markets, click on "Redeem" and enter the amount you want to redeem.
4. Review the details of your transaction.
5. Confirm the transaction and sign it with your connected wallet.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.enzyme.finance/user-documentation/blue-management/protocols/compound-v3.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
