# How to Borrow

{% hint style="info" %}
**TLDR:** borrow $HEX1 stablecoin by depositing hex in the vault that gets staked and generates tshares.
{% endhint %}

## Borrow Process

<figure><img src="https://1724657572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F52WGnpD0m1uV41Uj2tVY%2Fuploads%2Fag4fSQ20tjhVBVKDrNRP%2FScreenshot%202024-07-07%20235011.png?alt=media&#x26;token=e4b6e79f-3c89-4a7f-9b74-e83d679183b8" alt=""><figcaption></figcaption></figure>

### Deposit HEX <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Pick an amount of HEX tokens to deposit. The USD value must be greater than $1. HEX will be transformed into T-Shares by the vault, and used as collateral.&#x20;

After you successfully deposit you receive your Hex1 Debt Title NFT, that contains the T-shares and dates of your deposit.&#x20;

<figure><img src="https://1724657572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F52WGnpD0m1uV41Uj2tVY%2Fuploads%2FfIlkBpuKIpaH4bb8kvLH%2FScreenshot%202024-06-27%20014814.png?alt=media&#x26;token=5a913aed-f40b-43d0-bbed-62b48e62930b" alt=""><figcaption></figcaption></figure>

### Borrow HEX1 <a href="#what-is-a-vault" id="what-is-a-vault"></a>

In Your Loans table you will see the following information regarding your positions:

#### StakeId <a href="#what-is-a-vault" id="what-is-a-vault"></a>

The stakeId that matches the collateral deposit.

#### TokenID <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Id on the Hex One Protocol database.

#### Start/End <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Start and end dates of staked HEX (collateral).

#### Amount <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Total HEX staked (principal).

#### Borrowed <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Total HEX1 borrowed.

#### Health Ratio <a href="#what-is-a-vault" id="what-is-a-vault"></a>

When this ratio is > 250% there is no chance of liquidation. The starting point increases with the T-share payout increase.&#x20;

#### Max Borrowable  <a href="#what-is-a-vault" id="what-is-a-vault"></a>

The max amount of HEX1 tokens that can be borrowed against the debt position. This number increases if the price of HEX increases, from the user's starting price.&#x20;

### Buttons

#### Borrow&#x20;

Choose an amount to borrow against your debt title HDT NFT. Your health ratio will decrease.

#### Repay <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Choose an amount of HEX1 to repay (burn). Your health ratio will increase.

#### Withdraw <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Mint the staked HEX + Hedron + COM, and repay any owed HEX1.
