This commit is contained in:
boufni95 2023-11-23 22:01:18 +01:00
parent 969cd31775
commit dcb68d0069
19 changed files with 2333 additions and 2221 deletions

View file

@ -136,7 +136,7 @@ service LightningPub {
option (auth_type) = "Guest";
option (http_method) = "get";
option (http_route) = "/api/guest/lnurl_pay/handle";
option (query) = {items: ["k1", "amount"]};
option (query) = {items: ["k1", "amount", "nostr", "lnurl"]};
}
//</Guest>

View file

@ -191,6 +191,8 @@ message LnurlPayInfoResponse {
int64 maxSendable = 3; // millisatoshi - unsafe overflow possible, but very unlikely
int64 minSendable = 4; // millisatoshi - unsafe overflow possible, but very unlikely
string metadata = 5;
bool allowsNostr = 6;
string nostrPubkey = 7;
}
message HandleLnurlPayResponse {
string pr = 1;
@ -260,6 +262,5 @@ message GetProductBuyLinkResponse {
}
message LiveUserOperation {
string id = 1;
UserOperation operation = 2;
UserOperation operation = 1;
}