Skip to content

cardano-scaling/hydra-lightning-router

Repository files navigation

hydra-lightning-router

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:

  1. Transferring Ada between Alice and Bob via a HTLC,
  2. Transferring a CNT between Alice and Bob, via a HTLC.

Demo

Running

# In one terminal
nix run .#demo

# In another
cabal run hydra-lightning-router

Tests

nix develop
cabal test all

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •