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

# Wallet Overview

The Lacuna wallet is the heart of the protocol — everything else (swaps, bridging, agent payments) runs through it. It's a non-custodial mobile wallet: you hold the keys, the app holds nothing.

## What The Wallet Does

* Holds both **public** balances (normal on-chain) and **shielded** balances (private).
* Lets you **shield, unshield, and transfer** privately.
* Powers **private swaps, bridging, and x402 payments** from inside the shielded pool.
* Manages your **viewing keys** for optional, selective disclosure.

## Non-Custodial, Always

Your private keys and shielded note secrets are generated and stored only on your device. There is no Lacuna server that can access, freeze, or move your funds. If you lose your device, your [recovery phrase](/the-lacuna-wallet/backup-recovery.md) restores everything.

## The Privacy Model In One Picture

```
Public Address  --Shield-->    Shielded Pool   --Transfer / Swap / Pay-->   Private
Shielded Pool   --Unshield-->  Public Address
```


---

# 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:

```
GET https://whitepaper.lacunalabs.io/the-lacuna-wallet/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
