So I made a backend that generates Lightning Invoices using Strike API, and I also made a front end to test the capabilities of the backend:

https://obtain-appreciation-ronald-chevy.trycloudflare.com/

This URL was given to me randomly by Cloudflare

The Backend project is in this repo:

https://github.com/ils94/LNPay-Backend

This it out by sending any value in dollars, you guys can also test out the expiration that I managed to make even tho Strike does not allow custom time for invoices (Strike forces it to stay alive for 1 hour)

Testei aqui, enviei 0,01 e não recebi os satoshis no endereço

Reply to this note

Please Login to reply.

Discussion

O endereço é para estorno caso você pague um invoice expirado

Se você enviar BTC para um invoice considerado expirado, o sistema extorna o valor. Tem tudo explicado na pagina

Eu sou um jumento kkkkkk mas enfim, parabéns pelo seu backend

divulgue pf, preciso de usos "reais" para aperfeiçoar mais