Experience Base58's

Lightning: BOLTs in a flash

How does lightning work? Come dig deep into the spec protocol with a lightning spec expert. We’ll learn how channels are opened, how payments are made and accounted for, how force-closes work, what onions are, and how the routing table is built across the network with gossip. Experts only.

Lightning: BOLTs in a flash

Want to really understand how lightning works? Join us for an in-depth and hands on, project based investigation of building lightning channels, making payments, finding routes, and making onions. By the end of this class you’ll have implemented a hodl-invoice plugin, bolt11 invoice decoder, an onion packager, and a routing algorithm that can parse through gossip to find a route.

BOLTing it Together

This class will give you an overview of the Lightning BOLT specs: what they cover, how Lightning contracts work, how payments move through Lightning, and how nodes hide and reveal themselves via gossip.

Code in Lightning

We’ll use Lightning Plugins to manually HODL invoices, build onions for routes, and understand gossip messages.

Class Objectives

By the end of this class, you should be familiar with basic Core Lightning RPCs, have written a few plugins for Core Lightning, and be well versed in how payments, channel opens + closes, and the gossip network function.

Exercises in this class will be in Python using Jupyter notebooks. Nix strongly recommended for running the notebooks.

What to know before class (pre-requisites)

You must have a strong understanding of Bitcoin transaction basics, such as:

  • Script
  • Multisig
  • Outputs + Inputs
  • Transaction Fees
  • SegWit

These topics are covered in our flagship Transactions Deep Dive class.

Ready to join a class?

Register Now!

Upcoming sessions!

We've got instructors to get you into the bitcoin protocol. Signup for an upcoming in-person class for some face-time with our instructors or find an online option and join us remotely.

  • Austin, TX

    3/20/2024 - 3/22/2024 @ Wed to Fri, 9a - 12p; 1 - 4p Central

    Join us in person in Austin for week of learning the Lightning BOLTs

    $2450 | $2082

Ready to join a class?

Register Now!