Demonstration of routing a payment between two hydra heads using the htlc validator and the invoice representation.
Note
In our implementation, "Ida" in the picture above is called "Carol" in the code and TUI, and our demo videos.
This is an implementation of HTLC across two Hydra Heads and, for a setup with:
- Alice in Head 1
- Bob in Head 2
- Carol in Head 1 and Head 2
demonstrates:
- Transferring Ada between Alice and Bob via a HTLC,
- Transferring a CNT between Alice and Bob, via a HTLC.
# In one terminal
nix run .#demo
# In another
cabal run hydra-lightning-router
nix develop
cabal test all

