Compare commits

..

2 Commits

Author SHA1 Message Date
e32a531c61 Print LNURL 2024-12-27 01:00:14 +01:00
7f632c1c98 LNURL + phoenixd 2024-12-27 00:59:25 +01:00

View File

@ -32,8 +32,8 @@ func payRequest(c echo.Context) error {
http.StatusOK,
map[string]any{
"callback": fmt.Sprintf("%s/.well-known/lnurlp/%s/pay", env.PublicUrl, name),
"maxSendable": MIN_SENDABLE_AMOUNT, // 1m sat
"minSendable": MAX_SENDABLE_AMOUNT, // 1 sat
"minSendable": MIN_SENDABLE_AMOUNT,
"maxSendable": MAX_SENDABLE_AMOUNT,
"metadata": fmt.Sprintf("[[\"text/plain\",\"paying %s\"]]", name),
"tag": "payRequest",
"commentAllowed": MAX_COMMENT_LENGTH,