# Lending

Another example is a  fork of Compound v2 designed for borrowing and lending native Bitcoin assets, currently running on Bitcoin's testnet 4.&#x20;

dApp is based on decentralized lending pools where users can supply assets to earn interest or borrow against their collateral. Interest rates are algorithmically determined by supply and demand for each asset. Our fork mirrors this system, with users supplying Bitcoin assets to a lending pool and earning interest, or borrowing against the assets they've supplied.

The dApp also remains independent and does not represent the official Compound protocol, focusing solely on enabling lending and borrowing within Bitcoin’s testnet environment.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://midl.gitbook.io/midl/examples-of-use/lending.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
