> For the complete documentation index, see [llms.txt](https://docs.zestprotocol.com/start/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zestprotocol.com/start/borrow-1/stacks-market-v1-user-guide/how-to-use-stacks-market-v1-to-earn-yield.md).

# How to use Stacks Market V1 to Earn Yield

**Depositing Assets**

Visit [https://app.zestprotocol.com](https://app.zestprotocol.com/) and connect a Stacks wallet. We currently support [Leather](https://leather.io/), [Xverse](https://www.xverse.app/), [OKX Wallet](https://www.okx.com/web3), [Fordefi](https://fordefi.com/), and [Asigna](https://asigna.io/).

Under **‘Assets to supply’**, select the asset you wish to earn yield on and click **‘Supply’**. Approve the transaction in the wallet pop-up.

Once the **“Transaction Broadcast”** window appears, wait a few seconds for confirmation on the Stacks network.

Once confirmed, your supply position becomes active and begins earning continuously compounding yield. Your active lending position can be found under **‘Your Supplies’**.

That’s all there is to it.

<figure><img src="/files/ONP5Qsad0vSnbOMDfOM4" alt="" width="510"><figcaption></figcaption></figure>

### Withdrawing Assets <a href="#withdrawing-assets" id="withdrawing-assets"></a>

When you're ready to stop earning yield, click **‘Withdraw’** on the asset you wish to redeem under **‘Your Supplies’**. Once the transaction confirms, your assets will be returned.

If you select **‘Max’**, you’ll receive your full balance—original deposit plus accrued yield.

**Note:** If you have an active borrowing position, it must be fully repaid before you can withdraw the corresponding supplied assets.

{% hint style="info" %}
**Note:** If you have an active borrowing position, it must be fully repaid before you can withdraw the corresponding supplied assets
{% endhint %}

{% embed url="<https://www.loom.com/share/8cf8cd335a8e4917bc7f9dafb7c4c334>" %}


---

# 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 dynamically by asking a question.

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

```
GET https://docs.zestprotocol.com/start/borrow-1/stacks-market-v1-user-guide/how-to-use-stacks-market-v1-to-earn-yield.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
