A channel in Lightning is just an on-chain UTXO owned by two entities who have to agree how the UTXO will be spent. Lightning transactions using the channel are just updates to the agreement between those two owners about who will get funds from the UTXO when the channel is closed.

Reply to this note

Please Login to reply.

Discussion

Cool 👌. Thanks

I suppose lightning transactions initiate smart contracts

Yes. Lightning channels are smart contracts on Bitcoin in a 2:2 multisig.

Multisig means both parties must sign the transaction before the UTXO is spent?

Indeed, and they do so every time a Lightning transaction occurs on the channel, they just don't broadcast that transaction to the blockchain unless and until they want to close the channel.

And 2:2?

I got this. 2 keys are needed

Thanks, buddy!