Qala Development
  • Part-time course schedule
    • Week 1
    • Week 2
    • Week 3
    • Week 4
    • Week 5
    • Week 6
    • Week 7
    • Week 8
    • Week 9
    • Week 10
    • Week 11
    • Week 12
    • Week 13
    • Week 14
    • Week 15
    • Week 16
    • Week 17, 18
  • Full-time course schedule
    • Week 1
    • Week 2
    • Week 3
    • Week 4
    • Week 5
    • Week 6
    • Week 7
  • Meetings
  • Presentation topics
  • Projects
  • Open source contribution notes
  • Resources
Powered by GitBook
On this page
  • Prerequisites
  • Goals
  • Schedule
  • Deliverables
  • Building Lightning Apps Workshop
  • Project demos
  1. Part-time course schedule

Week 4

More Mastering Lightning

PreviousWeek 3NextWeek 5

Last updated 2 years ago

This week, we'll be building on the previous knowledge of Lightning Network by continuing with the "Mastering Lightning" Book. Discussions will be in small groups as usual as you answer discussion questions.

A web-reader-friendly hosted version of the book can be found at , which can be accessed for educational purposes using username and password qala:lightning.

Prerequisites

  • All the previous weeks' developer environments for both Bitcoin and Lightning Network.

Goals

At the end of the week, we hope that you will:

  • Understand the architecture of Lightning Network

  • Understand Payment Channels

    • Constructing a Payment Channel

    • Sending Payment accross the Channel

    • The Commitment Transaction

    • Advancing the Channel State

    • Closing the Channel

  • Understand Routing on a network of Payment Channels

    • Routing a Payment

    • Routing vs pathfinding

    • Creating a network of Payment Channels

    • Fairness Protocol

    • Hash Time-Locked Contracts (HTLCs)

Schedule

Continue with Mastering Lightning reading as detailed below.

Day
Chapters

Monday

Tuesday

Wednesday

Thursday

Friday

If you finish your chapter(s) for the day early, feel free to move on to the next day's chapter(s), as repetition is key when it comes to absorbing so much knowledge.

Deliverables

Each day, do the required reading and:

  • Be prepared for the daily discussion groups:

    • Finish reading the chapter(s) for the day

    • Prepare and research your assigned question(s), make sure you can host the discussion and think about follow-up questions etc

    • Prepare and research the questions hosted by other people in your group

Building Lightning Apps Workshop

Project demos

We are reserving 30 minutes every Thursday for demo time! We highly encourage participation so you can show off what you built! This week we will be hearing all about the wallet project you've all been working on.

Read all about them on https://course.qala.dev/meetings and reserve your slot once you've got something to share. Demos don't need to be perfect or beautiful, just let us all share in your excitement and experience!

Near the end of the week start thinking about which project you would like to tackle next from the .

Please try to complete this by the end of the week. You will need installed and working for the workshop.

Follow along with Brian Mancini's "Building a Lightning Graph" workshop which can be found . There is documentation for the workshop .

lnbook.256k1.dev
project list
Polar
here
here
Chapter 6: Lightning Network Architecture
Chapter 7: Payment Channels (up to and excluding "Sending Payments Across the Channel")
Chapter 7: (rest of the chapter)
Chapter 8: Routing on a Network of Payment Channels (up to and excluding "Hash Time-Locked Contracts")
Chapter 8: (rest of the chapter)