Slide 18
Slide 18 text
How to write Property for State Channel Exit.
1. Alice and Bob open a channel with 10ETH
collateral for each.
2. Alice builds a message which sends 2ETH to
Bob, signs it, then sends it.
3. Bob confirms the message, signs it, and return
it. Now the message has signs of both parties.
Bob has to keep the message.
4. Both parties repeat process 2 and 3, then
they've satisfied with the result.
5. One of them submits the latest message to
contract, then claim exit from the channel.
6. During dispute period, anyone can submit real
latest message with all parties' signatures to
challenge.
The freshness of the message is represented by
nonce.
ԡ(ਓ࣭)
ཁٻ ୀग़
৽
ᬋػᏐ
1/3