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

# Introducing Whalehub

Whalehub is a DeFi protocol built on the **Stellar Network** that lets you earn yield on your AQUA tokens through staking and automated liquidity vaults.

## What You Can Do

| Feature              | Description                                                 |
| -------------------- | ----------------------------------------------------------- |
| **Stake AQUA**       | Lock AQUA tokens for a chosen period and earn BLUB rewards  |
| **Restake BLUB**     | Compound your BLUB earnings back into the staking pool      |
| **Liquidity Vaults** | Deposit into auto-compounding AMM pools for hands-off yield |
| **Claim Rewards**    | Collect BLUB rewards earned from your staked position       |

## Quick Numbers

| Parameter               | Value                                |
| ----------------------- | ------------------------------------ |
| Token you deposit       | AQUA                                 |
| Token you earn          | BLUB                                 |
| BLUB per AQUA locked    | 1.0 BLUB (+ 0.1 BLUB to liquidity)   |
| Minimum lock            | 7 days                               |
| Withdrawal cooldown     | 10 days after lock expires           |
| Reward claim cooldown   | 7 days                               |
| Vault fee               | 30% to treasury, 70% compounded back |
| Auto-compound frequency | 48 times per day                     |

## How It Fits Together

Whalehub operates on three layers:

1. **Smart contracts** on Stellar (Soroban) — handle staking, rewards, and vault logic
2. **Backend server** — automates reward distribution, compounding, and ICE governance
3. **Web app** — user interface for staking, vaults, and claiming rewards

The protocol earns yield by deploying staked AQUA into Aquarius AMM liquidity pools. Rewards flow back to stakers as BLUB tokens, while a portion strengthens the protocol's own liquidity position.


---

# 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://whalehub-1.gitbook.io/whalehub/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.
