Day 1 of the Chaincode Labs Lightning Residency

History of the Lightning Network with Christian Decker

What are off-chain protocols?

Bootstrapping and Maintaining a Lightning Node by Elaine Ou

How Routing Works (In Theory)

Why Payments Fail

Future Work In Progress

The Lightning Protocol An Application Design Perspective with Alex Bosworth

  • HTLC is the atom of the app-building universe. Channels and the channel graph would ideally not be thought about by an app developer. Only HTLCs.


  1. Funds locked to peer
  2. Wait for peer response up to timeout
  3. Peer notification of failure: good because you can stop waiting and try a different peer
  4. Peer notification of success
  5. What happens if we wait to timeout? We need to go on-chain.






Bolt 6: IRC bootstrapping no longer exists, so here’s what goes left unsaid…

Bolt 7: The Grid

Bolt 8: Public Key

Bolt 9: Features so Far

Bolt 10: DNS Bootstrap

Bolt 11: Give Me Money

Lapp Monetization Models and Building with Éclair with Chris Stewart

  1. Lightning Network
  2. ???
  3. Profit!

Monetization strategies for APIs

  • Rate limiting: ration the service to prevent abuse
  • Crypto-exchanges for example
  • Pay per call APIs
  • Idea has been around for a while, 21co tried with old Spilman unidirectional channels
  • Suredbits is using LN
  • You can use preimages to encrypt payloads, if payment is successful the user receives the preimage needed to decrypt the data.
  • Use async to abstract away endpoint interaction complexity

Websocket subscriptions and LN

  • Subscribe to a websocket for a unit of time of streaming, for example pay 60 satoshis for 1 minute of data from the websocket
  • LN allows for easy refills of the subscription, cancellation with refunds




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Xfinite and all the use cases of XET tokens

Low-carbon green mining: Bridge Passport analysis! Seals a New Strategic Partnership with Star Atlas Aiming to Improve Its App Through MMORPG.

The fantom of the opera is there inside my mind

Klima DAO For Apes, Degens & OGs

TrueChain (TRUE) Weekly Report –November 15- November 23

Ruff Chain Biweekly Report | September 4 — September 18

Basic by DECENT : Blockchain in Supply Chain

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Pierre Rochard

Pierre Rochard

More from Medium


Volatility Tokens Tutorial

Is Bitcoin a Lifeboat To Save Us From Financial Collapse? [VIDEO]

BAT Primer