03
LN-GAP: Offchain Computation with Lightning

A new paper introduces LN-GAP, a Lightning-based framework for arbitrary offchain computation with O(1) onchain dispute resolution, discussing its relationship to BitVM, BitVMX and trust-minimized Bitcoin contracts.

github.com/AdamISZ
🔗 LN-GAP: Lightning governed by arbitrary programs

We propose, without any consensus change to Bitcoin, offchain bilateral contracts in Bitcoin that depend on arbitrary computation, calling this general paradigm LN-GAP (Lightning Network governed by arbitrary programs). That general idea is not new but we describe here a distinct mechanism to achieve O(1)-transactions to resolve disputed contracts onchain (that is, there is no onchain bisection).