For anyone curious about fast, small payments

Lightning

How payment channels let two people pay each other many times with only two blockchain transactions when the channel is closed cooperatively.

0 of 5 steps done

  1. Easy levelThe Multisignature Vault

    See how a coin can need two signatures: the lock at the heart of every channel.

    Open the model

  2. Explore levelThe Lightning Channel Machine

    Open a channel, pay in both directions and try to send more than one side has.

    Open the model

    Optional challenge A channel has a capacity of 1,000,000 sat. Alice holds 990,000 sat and Bob 10,000 sat. Can Bob send Alice 50,000 sat?
  3. Advanced levelThe Lightning Channel Machine

    Close the channel and compare the on-chain transactions with paying each time on-chain.

    Open the model

    Optional challenge Ten payments are made inside a channel, then it is closed cooperatively. How many on-chain transactions did the channel need?
  4. Explore levelThe Lightning Routing Machine

    Send a payment from Alice to Bob, who share no channel, and watch it find a route.

    Open the model

    Optional challenge A route has enough capacity on every channel, yet the payment fails. Why?
  5. Explore levelThe Lightning Security Machine

    Let Alice publish an old state and find out when the cheat fails and when it works.

    Open the model

    Optional challenge Alice publishes a revoked state. Bob is offline for longer than the time-lock delay and has no watchtower. What happens?

Finished? Choose another path or explore freely.