> ## Documentation Index
> Fetch the complete documentation index at: https://xoxno.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Accounts and risk on Stellar Lending

> How one lending account holds collateral and debt across hub assets, and how spoke risk limits constrain borrowing.

Lending activity is tracked in one account. The account can hold several
supplied assets and several borrowed assets at the same time. The protocol checks
the whole account before actions that can increase risk.

## One Account, Many Assets

When you supply for the first time, the protocol opens a lending account for
your wallet. You do not receive separate supply or debt tokens. Balances live in
the account and move as pool indexes accrue interest.

Anyone can repay debt. Only the account owner or an authorized delegate can
supply, borrow, withdraw, or manage the account.

## Spokes

Every account is bound to one spoke. A spoke defines which hub assets can be used
and with what risk parameters.

For each supported asset, the spoke controls:

* whether the asset can count as collateral;
* whether it can be borrowed;
* supply and borrow caps;
* loan-to-value;
* liquidation threshold;
* liquidation bonus and fee;
* optional oracle override.

There is no category-boost mode in the current account model.

## How Risk Is Checked

Two checks protect the pool:

| Check           | What it does                                                |
| --------------- | ----------------------------------------------------------- |
| Borrowing limit | Caps how much debt the account can take against collateral. |
| Health factor   | Measures whether the account is safe or liquidatable.       |

Borrowing and indebted withdrawals must keep the account inside both limits.
Repay and debt-free withdrawals are treated as de-risking flows.

See [risk parameters](/stellar-lending/risk-parameters) and
[health factor](/stellar-lending/health-factor) for details.

## Minimum Collateral While Borrowing

While an account carries debt, collateral must stay above a small USD floor. This
keeps tiny positions from creating outsized accounting and liquidation risk.

<Tip>
  Developer details for account storage, spoke binding, and risk gates are in
  [accounts and risk](/stellar-lending/dev/accounts-and-risk).
</Tip>
