add max to lnaddr

This commit is contained in:
keyan 2021-10-07 12:12:49 -07:00
parent bef68781a7
commit 48ff38dc56
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ export default async ({ query: { username } }, res) => {
return res.status(200).json({
callback: `https://stacker.news/api/lnurlp/${username}/pay`, // The URL from LN SERVICE which will accept the pay request parameters
minSendable: 1000, // Min amount LN SERVICE is willing to receive, can not be less than 1 or more than `maxSendable`
maxSendable: Number.MAX_SAFE_INTEGER,
metadata: [[
'text/plain', // must always be present
`Funding @${username} on stacker.news` // actual metadata content