2
I'm looking for what the state block look like on the blockchain to set a channel on the lightning network. I found everywhere that the input script is a multisig script (since the two people that set the channel will put there state on the blockchain), but I can't find how they lock the amount until the channel is closed.
So I have two questions :
What is the script of the output script of the state block (the block that starts the channel)?
Where to find such information ?
If you have the scripts of the block that is published on the blockchain after the channel is closed, I would gladly take them also :)
Thank you for your help!