Closed nickfarrow closed 1 year ago
I think for this to make sense in our app we have to merge that address into the PayJoin PSBT. I didn't realize we were returning an address to the UI
Taking a double take on this, I imagine a slightly different flow.
We could add a line to our channels ui with a checkbox like
<label>Inbound channel</label> <input disabled value=1_000_000 \>
I want a quote for an inbound channel (~30k sats) [x]
on /schedule, find the quote, and return the ScheduledPayJoin with the bip21 that pays for it. We can show if that quote succeeded or failed, as well as the quote there, all ready to be paid. This design intends to minimize interaction and points of failure.
Changed so /schedule takes a request for inbound and if so adds the output to the proposal psbt
UI, error handling, integration test upgrade to include inbound payment, and response status update TODO
"Allow channels of length 0" commit should
I think we should proceed with this PR now without altering the integration test. The nolooking lsp is now tested and working on regtest.
The lsp module has no config for the lsp, so it always hits mainnet. I think that's fine for the next tournament release since we have done manual tests, but it makes writing the integration test harder. The lsp code needs to change to inject the lsp url. that should be the next issue.
This is working as is and imo should be merged assuming CI passes
Fetch quote from
(see https://github.com/nolooking/sateater/pull/11) Display address to pay for inbound channel!