# Lightning Protocol Development

*This seminar assumes a basic level of Bitcoin protocol knowledge. You should begin with reading* [*The Mastering Lightning Book*](https://github.com/lnbook/lnbook) *before starting with these resources.*

1. [LN History, Payment Channels and HTLCs](/seminars/lightning-protocol-development/payment-channels-htlcs.md)
2. [How the Layers of Lightning Fit Together](/seminars/lightning-protocol-development/lightning-how-the-pieces-fit-together.md)
3. [Lightning Routing](/seminars/lightning-protocol-development/lightning-routing.md)
4. [Limitations](/seminars/lightning-protocol-development/lightning-limitations.md)
5. [The Future of Lightning](/seminars/lightning-protocol-development/future-of-lightning.md)

## Welcome and expectation setting

{% embed url="<https://www.youtube.com/embed/mXhrz060ZFw?rel=0>" %}


---

# 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://chaincode.gitbook.io/seminars/lightning-protocol-development.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.
