Playground
Open a channel. Pay it. Break it.
Everything below uses real Ed25519 signatures made in your browser, checked by the same code the tests run. No wallet, no funds, nothing sent. Time is simulated so you can wait out a dispute window in one click.
This browser cannot create Ed25519 keys (WebCrypto). Use a current Chrome, Edge, Firefox or Safari.
1. Open the channel
2. Pay
0tickets signed
0owed to the payee
0still the payer's
Each press signs real tickets (one per request) and the payee checks every one. Nothing goes on-chain.
No ticket yet.
3. Try to cheat it
Each button builds a bad ticket, for real, and the payee side refuses it with the program's error name.
4. Close it
Simulated time: day 0.