Open grunch opened 2 years ago
the new LND AMP static invoices uses a V2 call to LND and LNDHub uses V1 of the call to LND
the return from V1 call => that the BlueWallet and other compatible implementations use are expecting return in V1 format
the V2 call has a a different return format
a way to prototype enabling LND AMP static invoices is to have a proxy in front of LNDHub that calls into LND V2 and transpose back as V1 to caller ...
further the V2 call has a different LND local DB structure that implementations and LNDHub and client implementations need consider ...
it can be done but a total overhaul / remake of LNDHub would then be recommended ...
I am trying to pay a lnd static invoice but I am getting this response
Allowing static invoices will unlock a native way of sending tips over lightning and since you are using lnd it would be very easy to implement 😃
More infor here: https://docs.lightning.engineering/lightning-network-tools/lnd/amp