SatoshiPortal / boltz-rust

Boltz client rust crate
https://docs.boltz.exchange
30 stars 16 forks source link

Script Path Spend: Submarine-Refund & Reverse Non-Cooperative Claim #30

Closed rajarshimaitra closed 3 months ago

rajarshimaitra commented 3 months ago

This PR includes the script path spending for the submarine and reverse swap.

For submarine the script path is for refund transactions (unhappy path). And for reverse the script_path is for non-cooperative claim, when boltz fails to give its partial signature for whatever reason.

Integration test is not included yet, as creating dummy data and the unhappy condition is a bit involved. This will be done in a followup PR.

i5hi commented 3 months ago

Thanks Raj!