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's part of the free, open-source desktop app for macOS, Windows and Linux.
What you get
- Hands-on lessons with a real editor and instant, test-graded feedback.
- Free and open source, with no account required to start.
- Works offline in the free desktop app for macOS, Windows and Linux.
- JavaScript runs instantly in the app.
What's inside
- Why Lightning
- Payment Channels
- HTLCs
- Routing and Pathfinding
- Onion Routing
- Payment Requests (BOLT-11)
- Security, Privacy, and the Future
Download to start Mastering Lightning Network → More free JavaScript courses
Helpful reading
Why passive video doesn't make you a programmer · Bring Your Own Book: turning any PDF into a course