# xBank

xDollar Space (V2) allows users to open accounts to borrow our stablecoin, **XIM,** and further adjust their risk tolerance/collateral ratio based on their needs.&#x20;

### **Depositing Collateral and Borrowing MIM**

Head over to [app.xdollar.fi ](https://app.xdollar.fi)and click on [**xBank**](https://app.xdollar.fi/#/xbank)

The xBank section displays a variety of ERC-20 Tokens that can be used as collateral. Here is the demonstration:   &#x20;

&#x20;   &#x20;

![](https://2291591005-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZGpUZhTY8WD3Sh9RAwnJ%2Fuploads%2FQZfJoNdKtJdAAZwPND5C%2Fimage.png?alt=media\&token=cfcc1b34-ea8a-4ce0-a65e-b4e5c88ce001)

To borrow some XIM, simply click any Trove you want to use as collateral.&#x20;

Once you open the trove with your preferred collateral, the popup section will appear.

![](https://2291591005-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZGpUZhTY8WD3Sh9RAwnJ%2Fuploads%2FRTvAeByFgCdoYc0EEcC1%2Fimage.png?alt=media\&token=0116208c-e82c-42d2-89e4-712412167b8a)

Let’s start with this window and enter the amount of Collateral and the amount of Borrow

* **Liquidation Reserve -**&#x41;n amount set aside to cover the liquidator’s gas costs if your Trove needs to be liquidated. The amount increases your debt and is refunded if you close your Trove by fully paying off its net debt.
* **Borrowing Fee** -This amount is deducted from the borrowed amount as a one-time fee. There are no recurring fees for borrowing, which is thus interest-free
* **Total Debt** -The total amount of XIM your Trove will hold.
* **Debt Ceiling -** The maximum amount that can be borrowed against a particular collateral type.
* **XIM Available -** This is how many XIMs left for users to borrow against a particular collateral type of assets.
* **Collateral Ratio -** The ratio between the amount of the collateral and the debt (in XIM) you are depositing.

First, decide how much collateral will be used as collateral and then decide how much XIM will be borrowed by either typing in the numbers.

Finally, Click the Confirm button to open the Trove.&#x20;

### Managing Positions

Open positions can be managed in the same window as used to initially open a position. Here we can:

* Add collateral
* Borrow more XIM (assuming the minimum collateral ratio has not been crossed)
* Repay borrowed XIM
* Remove collateral (based on the user current debt level/collateral ratio)
* Close the Trove

#### My Open Trove

On the right bottom of Trove, you will see a button 'Adjust" and click that button will enable users to manage the positions.

![.](https://2291591005-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZGpUZhTY8WD3Sh9RAwnJ%2Fuploads%2FHtZ0MJJzbSNjoNrldAHg%2Fimage.png?alt=media\&token=8ca66f89-5847-4a82-ac4f-ff8436cf898d)

Then users can manage their troves as they want including closing the positions by changing the debt and collateral to 0.
