Basis of Lightning Technology (BOLT) documents describe a layer-2 protocol for off-chain bitcoin transfer by mutual cooperation, relying on on-chain transactions for enforcement if necessary.

https://github.com/lightningnetwork/lightning-rfc/blob/master/00-introduction.md …