BoltzExchange / boltz-backend

Boltz Backend
https://boltz.exchange
GNU Affero General Public License v3.0
105 stars 39 forks source link

Covenants: Trustless Refunds for Chain Overpayments #464

Open kilrau opened 6 months ago

kilrau commented 6 months ago

Goal

A Boltz API client should only be able to claim the previously agreed upon swap amount, if a user accidentally overpays. Client can then throw "you overpaid, enter your refund address here" which triggers refund path for overpaid amount.

This is possible using covenants in Liquid Normal Swaps.

dni commented 6 months ago

yeah, this is awesome!