> For the complete documentation index, see [llms.txt](https://docs.hann.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hann.finance/readme.md).

# Hann Finance

Hann Finance combines collateral-backed USDHN borrowing, lending markets, staking, and token swaps on Kaia.

## Use Hann Finance

| Task                                       | Guide                                                               |
| ------------------------------------------ | ------------------------------------------------------------------- |
| Connect a wallet and choose a network      | [Getting started](/getting-started.md)                              |
| Supply an asset or borrow from a market    | [Lending markets](/protocol/lending.md)                             |
| Borrow USDHN against collateral            | [Borrowing and liquidation](/protocol/borrowing-and-liquidation.md) |
| Deposit USDHN or manage pool rewards       | [USDHN and Earn](/protocol/usdhn-and-earn.md)                       |
| Swap tokens or provide liquidity           | [Convert and StableSwap](/protocol/stableswap-dex.md)               |
| Stake KAIA, withdraw bKAIA, or mint HNKAIA | [bKAIA and HNKAIA](/protocol/bkaia-and-hnkaia.md)                   |
| Open, adjust, or close leverage            | [Leverage](/protocol/loops.md)                                      |
| Review positions and points                | [Accounts and product questions](/overview/general.md)              |

## Understand the protocol

[Product overview](/overview.md) introduces the assets and their roles. [Protocol mechanics](/mechanics.md) covers interest, redemptions, liquidation, and pool accounting. [Detailed explanations](/mechanics/deep-dives.md) include formulas and worked examples. Terms are defined in the [glossary](/overview/glossary.md).

## Build an integration

* [Technical overview](/developers/technical-overview.md)
* [Integrator guide](/developers/integrator-kit.md)
* [Smart contracts and deployment profiles](/developers/smart-contracts.md)
* [Trove lifecycle](/developers/trove-manager.md)

## Official links

* [Hann Finance](https://hann.finance)
* [X](https://x.com/HannFinance)
* [Discord](https://discord.gg/tzUgd7c68P)
* [Security](/security.md)
* [Privacy Policy](/legal/privacy-policy.md)
* [Terms of Service](/legal/terms-of-service.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.hann.finance/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
