# 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="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FijUteBGXydz4EUVFMywD%2F1.jpg?alt=media&#x26;token=edc3fe4c-349c-4dff-8da0-ea89c6fecc21" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FOP5IHXUzOMVHbzTyOoJq%2F3.jpg?alt=media&#x26;token=441e22a5-e78e-402a-aa96-34c43a45dfa0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FJyE5IhBxMExZIeWu1zEZ%2F2.jpg?alt=media&#x26;token=308891af-88ad-4efd-873d-7edb2032d6de" 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="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FkC2RkD1FfWWx2swgnWLQ%2Fimage.png?alt=media&#x26;token=ff7d106d-6ba0-4624-a2aa-fd93e3d8b0ea" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FZjWSPSzVWvOEFjOo6vyv%2Fimage.png?alt=media&#x26;token=3b0203e5-449b-4f9f-b4d9-8e9f8fad2e9b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FPXkAPvjSLTMwsriNEz5r%2Fimage.png?alt=media&#x26;token=ba2f70b6-759d-4b36-bb5b-8571232749b1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FV2xyI2hmmM2LOaS3OXdf%2Fimage.png?alt=media&#x26;token=835f132c-7630-4d46-a58a-fb57255967cb" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FEx4d1L1lEYYj2a1hDDJ2%2Fimage.png?alt=media&#x26;token=76cd8389-9ed5-4b6e-9cd4-849871b44d93" alt=""><figcaption></figcaption></figure>

6. Input the borrow amount and confirm the transaction.

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FQI5ygFvpLiLwpIoCSpbW%2Fimage.png?alt=media&#x26;token=29942ec7-f0a2-4440-b6f3-3c8985649ea3" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FVgRBuGJwgF7QnVP4m6Ff%2Fimage.png?alt=media&#x26;token=2e43f84c-080c-4e3d-a97c-39950f985946" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FnLNBEiBkB7i4UGA4mpND%2Fimage.png?alt=media&#x26;token=d083bb2b-05ed-44fe-b7bf-e7d7a26a0bb3" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2FAy8OIbyTmy7ghLKsnNrn%2Fimage.png?alt=media&#x26;token=577d6868-f0aa-4434-82dd-af1cc529446f" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2Fq81bBvA3dlqZHkXnPbj3%2Fimage.png?alt=media&#x26;token=ff823c27-3a27-43c5-b98f-a28879d4b71f" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2Fl7ayLPLh3mLzjesFNzBN%2Fimage.png?alt=media&#x26;token=3bd9aa8e-de95-408d-8b34-552f5b7a5fd0" 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="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2F2MYAdBN6H6flzi5iu0pI%2Fimage.png?alt=media&#x26;token=01308edb-7e7f-4bfa-97b3-a860adf3a157" 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="https://246139747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCkZ91Y0PTaH2fWlmqLK%2Fuploads%2F4Wxh1OJegddjaEWyEOCZ%2Fimage.png?alt=media&#x26;token=400b4c42-94c1-4b35-990a-7d3af36e31c9" alt=""><figcaption></figcaption></figure>
