# Borrow as a Storage Provider

#### Borrow FIL with flexible repayment plans

Storage providers only need to stake the beneficiary to the contract as collateral. HashMix provides an innovative solution for SPs to maximize their profits in the Filecoin ecosystem. By providing permissionless options for a pledge and borrow, along with reasonable borrow APY and flexible repayment plans, SPs can repay their loans at any ratio and any time they prefer. With HashMix, SPs gain greater control over their financial future, making it a powerful tool for achieving their goals.

#### Video Tutorial

{% embed url="<https://www.youtube.com/watch?v=xA8V2eRCKUU>" %}

#### Step-by-Step Tutorial

1. Visit <https://fvm.hashmix.org/,> click ‘Borrow FIL’, and click ‘Connect to MetaMask’ in the upper right corner to connect your wallet (please make sure your MetaMask has added FVM network and has FIL as gas fee, tutorial [here](https://medium.com/@hashmix/how-to-withdraw-fil-to-fvm-chain-723d316d493a).

<figure><img src="/files/ei7HGIYvyGs3YQiDZE0o" alt=""><figcaption></figcaption></figure>

2. Click ‘ESTIMATE’, and input the Miner ID to evaluate the credit of the node.

<figure><img src="/files/oYcXdyChmPYUvmTK709M" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/5DrHw71IPjOX73v14tFT" alt=""><figcaption></figcaption></figure>

3. After signing the signature, you can find the evaluation details of the node in one minute or two. If you are willing to accept the offer, click ‘Accept’.

<figure><img src="/files/atZci5x3pgUDc8mSLJhr" alt=""><figcaption></figcaption></figure>

4. Click ‘Approve Beneficiary Transfer’ to transfer your Beneficiary Transfer to protocol generated vault address.

<figure><img src="/files/3DzVYZ5AlNtnnoLR4KoE" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/7HXxDeFhI8acFhG7iFg6" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/YMMlfazwBhA5jYEdHNPp" alt=""><figcaption></figcaption></figure>

5. After transferring successfully, click ‘Borrow’ and start borrowing from the pool.

<figure><img src="/files/93l7eh16Rws4dcpzGaW9" alt=""><figcaption></figcaption></figure>

6. Input the borrow amount and confirm the transaction.

<figure><img src="/files/dAQdidCsGImI3WUbYgep" alt=""><figcaption></figcaption></figure>

7. After borrowing, the Credit and Debt amount will change accordingly.

<figure><img src="/files/jcQh73TBT6PmPeHLBKij" alt=""><figcaption></figcaption></figure>

8. The Harvest Factor (Repayment Ration) can be changed according to your preference.

<figure><img src="/files/j7enhRiPBKUemSgrgpMB" alt=""><figcaption></figcaption></figure>

9. Click ‘Harvest’ to harvest for the node.

<figure><img src="/files/dvDgRDKXftHCp4elb2hM" alt=""><figcaption></figcaption></figure>

10. With ‘Repay’, you can repay the loans in advance.

<figure><img src="/files/epMLYvYd15zS4t9NAwgh" alt=""><figcaption></figcaption></figure>

11. After you repay all the loans, click ‘Return Beneficiary’ to claim your beneficiary address back.

<figure><img src="/files/x067AbRmoL2arM1y3qjE" alt=""><figcaption></figcaption></figure>

12. You can also click ‘ReEstimate’ to re-evaluate the credit of your node to see if there's any extra Credit for the node.

<figure><img src="/files/hzYG3kmrjLXJKnCIgYcY" alt=""><figcaption></figcaption></figure>

13. A new offer will be listed on the page, click ‘Accept’ to continue borrowing the extra credit.

<figure><img src="/files/wuTthPZUTQx3x0HpzDuo" alt=""><figcaption></figcaption></figure>


---

# 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://hashmix.gitbook.io/hashmix-fil-liquid-staking/borrow-as-a-storage-provider.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.
