add max to lnaddr
This commit is contained in:
parent
bef68781a7
commit
48ff38dc56
@ -9,6 +9,7 @@ export default async ({ query: { username } }, res) => {
|
|||||||
return res.status(200).json({
|
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
|
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`
|
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: [[
|
metadata: [[
|
||||||
'text/plain', // must always be present
|
'text/plain', // must always be present
|
||||||
`Funding @${username} on stacker.news` // actual metadata content
|
`Funding @${username} on stacker.news` // actual metadata content
|
||||||
|
Loading…
x
Reference in New Issue
Block a user