Welcome to the LNP201 course!
This training aims to provide you with an in-depth technical understanding of the Lightning Network, an overlay network designed to facilitate fast and often low-cost Bitcoin transactions. You will gradually discover the fundamental concepts that govern this system, from opening payment channels to routing techniques and liquidity management.
Section 1: Fundamentals
We will begin with a general introduction to the Lightning Network, laying the essential foundations for understanding Bitcoin, its addresses, UTXOs, and how transactions work. This fundamental review is necessary to understand how the Lightning Network relies on the underlying blockchain mechanisms to operate securely.
We will begin with a general introduction to the Lightning Network, laying the essential foundations for understanding Bitcoin, its addresses, UTXOs, and how transactions work. This fundamental review is necessary to understand how the Lightning Network relies on the underlying blockchain mechanisms to operate securely.
Section 2: Opening and Closing Channels
In this section, we will explore the channel opening process, which is the cornerstone of the Lightning Network. You will learn how commitment transactions are created, the role of revocation keys for security, and how channels can be closed either collaboratively or unilaterally. Each step will be explained precisely and technically to help you fully understand all the details.
In this section, we will explore the channel opening process, which is the cornerstone of the Lightning Network. You will learn how commitment transactions are created, the role of revocation keys for security, and how channels can be closed either collaboratively or unilaterally. Each step will be explained precisely and technically to help you fully understand all the details.
Section 3: A Liquidity Network
The Lightning Network is not limited to individual channels; it is a real payment network. We will see how transactions can be routed through intermediary nodes using HTLCs. This section will also introduce you to the challenges of inbound and outbound liquidity.
The Lightning Network is not limited to individual channels; it is a real payment network. We will see how transactions can be routed through intermediary nodes using HTLCs. This section will also introduce you to the challenges of inbound and outbound liquidity.
Section 4: Lightning Network Tools
This section presents practical tools of the Lightning Network, such as Invoices, LNURL, and Keysend. You will also learn how to manage your channels' liquidity, an essential aspect that ensures smooth payments and maximizes the efficiency of your transactions on the Lightning Network.
This section presents practical tools of the Lightning Network, such as Invoices, LNURL, and Keysend. You will also learn how to manage your channels' liquidity, an essential aspect that ensures smooth payments and maximizes the efficiency of your transactions on the Lightning Network.
Section 5: Going Further
Finally, we will conclude the training by recapping the concepts covered and paving the way for more advanced topics for those who wish to deepen their knowledge of the Lightning Network.
Finally, we will conclude the training by recapping the concepts covered and paving the way for more advanced topics for those who wish to deepen their knowledge of the Lightning Network.
Ready to uncover the technical mechanisms of the Lightning Network? Let’s dive in!
Here are some terms you will encounter in the course diagrams, along with a brief definition to help you better understand them:
| English | Definition |
| timelock | A mechanism that locks funds until a specific time |
| Revocation Key | A cryptographic key used to revoke a previous state |
| invoice | A payment request containing amount and details |
| sig (signature) | A cryptographic proof of transaction authorization |
| Preimage | The original value that produces a hash when hashed |