# Moonlight

## Welcome!

This is Moonlight's documentation page. Your place for all things related to the Moonlight protocol — a privacy layer built on [Stellar](https://www.stellar.org/).

## What is Moonlight?

Moonlight is a privacy layer for the Stellar network that lets people send, receive, and store assets without revealing on-chain who owns what. By spreading each account across countless discrete addresses and processing transfers in bundled form through a user-chosen privacy provider, it breaks the direct link between public ledger data and personal identity—letting providers meet regulation-specific requirements while users retain **complete control of their funds** and **the freedom to choose or switch their privacy provider at any moment.**

Moonlight provides fully open-sourced core building blocks for the protocol to operate. Accounts are represented by countless discrete UTXO addresses that the wallet still treats as one balance, and a standardized key-derivation scheme lets a single master secret deterministically generate, control, and recover every address. Transactions move through programmable channels overseen by trusted privacy providers, who manage these pools, uphold compliance requirements, and deliver a seamless, unified experience for users interacting with the protocol.

### Jump right in

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Whitepaper</strong></td><td>Read the detailed specification of the Moonlight Protocol</td><td></td><td></td><td><a href="/pages/JNUagQJnElNX45RDuxpw">/pages/JNUagQJnElNX45RDuxpw</a></td></tr><tr><td><strong>Getting Started</strong></td><td>Start integrating and building on top of the Moonlight Protocol and tooling </td><td></td><td></td><td><a href="/pages/CyH2xJQs9yWJ1S8BYNav">/pages/CyH2xJQs9yWJ1S8BYNav</a></td></tr><tr><td><strong>Moonlight Repository</strong></td><td>Check out Moonlight's open source implementation and tools.</td><td></td><td></td><td><a href="https://github.com/Moonlight-Protocol">https://github.com/Moonlight-Protocol</a></td></tr></tbody></table>


---

# Agent Instructions: 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://moonlight-10.gitbook.io/moonlight-docs/readme.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.
