Mastering Lightning Network
The trio's CC BY-SA 4.0 book on Lightning's payment channels, HTLCs, onion routing, and BOLT specs — paired with runnable JavaScript exercises that compose Lightning's primitives from cryptographic building blocks (sha256 hash chains, secp256k1 keys, BOLT-11 parsing) using @noble libraries and Node's native crypto.
- JavaScript
- 18 lessons
- ~4 hours
- Free
- by Andreas M. Antonopoulos, Olaoluwa Osuntokun, René Pickhardt
Learn JavaScript for free on Libre Academy with the Mastering Lightning Network course: 18 interactive lessons you complete by writing real code in a built-in editor, graded instantly by hidden tests. No paywall, no sign-up — it runs in your browser and the free desktop app.
What you get
- Hands-on lessons with a real editor and instant, test-graded feedback.
- Free and open source — no account required to start.
- Runs in your browser, and offline in the free desktop app.
- JavaScript runs in your browser.
What's inside
- Why Lightning
- Payment Channels
- HTLCs
- Routing and Pathfinding
- Onion Routing
- Payment Requests (BOLT-11)
- Security, Privacy, and the Future
Start Mastering Lightning Network free → More free JavaScript courses