diff --git a/src/utils/lnurl.ts b/src/utils/lnurl.ts index e252c90..5aabcfb 100644 --- a/src/utils/lnurl.ts +++ b/src/utils/lnurl.ts @@ -8,6 +8,7 @@ export function createLnurlResponse(username: string) { minSendable: Number(process.env.LNURL_MIN_AMOUNT), metadata: JSON.stringify([ ["text/plain", "A cashu lightning address... Neat!"], + ["text/identifier",`${username}@cashu-address.com`] ]), tag: "payRequest", allowsNostr: true, @@ -20,6 +21,7 @@ export function createLnurlResponse(username: string) { minSendable: 10000, metadata: JSON.stringify([ ["text/plain", "A cashu lightning address... Neat!"], + ["text/identifier",`${username}@cashu-address.com`] ]), tag: "payRequest", };