Payment lab

Three hops. One timeout.

AliceMeridianAtlasDave. A PREPARE state per hop, staggered deposits, and a hash lock that settles backward. CLR is a demonstration unit — not a currency.

Amount N100 CLR
  1. A · Spoke

    Alice

  2. B · Router

    Meridian

  3. C · Router

    Atlas

  4. D · Spoke

    Dave

AliceMeridian

Idle
Alice deposits
100 CLR
Meridian deposits
100 CLR
Cancel
Meridian may CANCEL

MeridianAtlas

Idle
Meridian deposits
100 CLR
Atlas deposits
300 CLR
Cancel
Atlas may CANCEL

AtlasDave

Idle
Atlas deposits
100 CLR
Dave deposits
0 · HTLC
Cancel
Timeout only

Step 1 / 10

Idle channels

Alice wants to pay Dave. The path is always three hops: Alice → Bob → Carol → Dave. No path finding.

Payment hash
c91e04aa7b18
Preimage R
············

Locked 0 CLR

Staggered deposits

Griefing requires locking as much of your own capital as you freeze in others.

  • Alice + Bob200 CLR

    1:1 on first hop

  • Carol300 CLR

    Equals the rest of the path

  • Dave0 CLR

    Timeout, not a deposit lock

Protocol tape

No states yet. Step the protocol to write PREPARE in each channel.