pull down to refresh
We implement a getBalance function for each send side wallet that supports balance fetching. Ideally we'd be able to use the ndebit string to get a clink balance as an independent request. If it's a field on the debit response, it probably wouldn't make much sense for us because we'd have to cache it clientside and it'd be stale until money was sent again.
To each wallet we are also adding (when supported):
- a
checkInvoicefunction for receive side to record if an invoice we generated was paid - a
checkPaymentfunction for send side to gather the preimage/status for an invoice we attempted to pay
So as-is:
- lack of
getBalancereports balance as unavailable - lack of
checkInvoicewarns that we don't know if the invoice was paid - lack of
checkPayment, assuming we missed the preimage of the send response and did not get a definitefailresponse, warns that payment status is unknown to us and could be complete/inflight
External wallet plumbing where the goal is:
- make our best effort to surface invoice receive status
- enable sending
When I ask myself, the impulse is to project myself into the past/future. So maybe my ancestors were some kind of unruly (the Irish part) enterprising craftsman (the Persian one). My descendants, assuming I have them, might be engineers or artisans on some intergalactic vessel or owners of a remote pleasure planet.
Use markdown quotes and link to it. To do a markdown quote start a line with >.
> this is a quoterenders
this is a quote
If you don't have commentary, or key quotes from the article, links without LLM summaries would be my preference.
I didn't know you were two stepping. I don't recall the context, but I was looking up places a few months ago and now I'm wondering if you're the context.