lnflash / flash

fork of galoy bitcoin banking infrastructure
https://getflash.io
MIT License
4 stars 3 forks source link

Update Intraledger payments to use Ibex #73

Closed brh28 closed 4 months ago

brh28 commented 4 months ago

This PR updates the Payments send-intraledger module to use Ibex. By applying this change here rather than the intraLedgerUsdPaymentSend graphQL resolver, we keep Galoy's validation and contacts features, while ensuring other uses of this code are changed as well.

Ibex does not support intraledger payments, so we are fetching an invoice on behalf of the receiver and then settling it for the sender.