What stops my lnurl server not to create wrong invoice amounts?

nostr:nevent1qqsrtfg0jwfznth9ayqgc7e77eud8ffhap27ace26t8el3k9d0kczkcpz4mhxue69uhkummnw3ezummcw3ezuer9wchsygx760dnj9vywj5drhltxsqwtuwzqmuf68y564uurr4j57df2qsy8cpsgqqqqqqs5gr46h

Reply to this note

Please Login to reply.

Discussion

lightning invoices are decodable. this means that if the server generates an invoice with an incorrect amount, you can see that the amount is wrong before making the payment.

check this out: https://www.bolt11.org/

Yes thanks, I knew that. But is there something that can prevent that? Or is my request somehow cryptographically also in the invoice generator?

the safest way is to run your own lightning node ofc. do not trust, verify ✅