Skip to main content

test_direct_htlc

Function test_direct_htlc 

Source
pub(crate) async fn test_direct_htlc(dev_fed: &DevJitFed) -> Result<()>
Expand description

Exercise the direct HTLC CLI between two clients of the same federation, with the full out-of-band handoff as strings: the claimer’s key, the funder’s funding txid and contract JSON, and the forfeit signature. The claimer’s secret key and preimage are passed through files and stdin.