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

# Protocol Details

- [Algebraic Primitives & Notation](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/algebraic-primitives-and-notation.md)
- [Keys & Key Derivation](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/keys-and-key-derivation.md)
- [Stealth Addresses](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/stealth-addresses.md)
- [Signatures](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/signatures.md)
- [Encodings](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/encodings.md): Details about encodings used to represent core data structures using both field elements and bits.
- [Commitment Tree](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/commitment-tree.md)
- [Subtree Update Circuit](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/commitment-tree/subtree-update-circuit.md): Details of subtree update circuit
- [JoinSplit Circuit](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/joinsplit-circuit.md): Details of JoinSplit circuit, including PIs, encodings, and constraints (in english)
- [Note Encryption](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/note-encryption.md)
- [Contracts](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/contracts.md): Details on the Nocturne contracts
- [Deposit Manager](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/contracts/deposit-manager.md): Gated entry point for deposits
- [Teller](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/contracts/teller.md): Stores assets and serves as entry point for processing bundles
- [Handler](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/contracts/handler.md): Handles private accounting and executes operations
- [ETH Adapters](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/contracts/eth-adapters.md)
- [Canonical Address Registry](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/contracts/canonical-address-registry.md)
- [Offchain Actors](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/offchain-actors.md): Details on the Nocturne offchain actors
- [Deposit Screener](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/offchain-actors/deposit-screener.md): Approves/rejects incoming deposits
- [Bundler](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/offchain-actors/bundler.md): Relays operations on behalf of users
- [Subtree Updater](https://nocturne-xyz.gitbook.io/nocturne/protocol-details/offchain-actors/subtree-updater.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://nocturne-xyz.gitbook.io/nocturne/protocol-details.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.
