Blockchain, Lightning Network, Tutorial, Programming, Technology.
it will hard to read. So I divide into several blog posts. And this is the final post. The target of this blog post is to spend HTLC Breach Remedy which is correspond to Figure 13 + 14 of white paper. Code on Github: lightning-network-tx-flow Pre Post: Simplified code of Bitcoin Lightning Network