You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I forked this project to include an interesting functionality. You can check it out on https://github.com/aplnx/lnme (Changes are in tor-support source codes)
It allows you to sell tickets. The interface pulls the price from Binance. I did it in the way that the price exchange is calculated on the server-side, then it is unlikely that the price could be hacked (I hope at least! :) ). It works like that:
1 - Page shows the price in USD for a ticket and the respective amount in sats. The ticket has a fixed price in USD.
2 - If you click to buy, it generates an lnbtc invoice.
3 - It waits until the invoice is settled.
4 - It shows a ticked code after payment confirmation.
@bumi : Would you mind taking a look? I think the code Golang skills are not very good but the functionality is demonstrated anyway. You may use tickets.html inside the examples directory instead of index.html.
The text was updated successfully, but these errors were encountered:
I forked this project to include an interesting functionality. You can check it out on
https://github.com/aplnx/lnme (Changes are in tor-support source codes)
It allows you to sell tickets. The interface pulls the price from Binance. I did it in the way that the price exchange is calculated on the server-side, then it is unlikely that the price could be hacked (I hope at least! :) ). It works like that:
1 - Page shows the price in USD for a ticket and the respective amount in sats. The ticket has a fixed price in USD.
2 - If you click to buy, it generates an lnbtc invoice.
3 - It waits until the invoice is settled.
4 - It shows a ticked code after payment confirmation.
@bumi : Would you mind taking a look? I think the code Golang skills are not very good but the functionality is demonstrated anyway. You may use tickets.html inside the examples directory instead of index.html.
The text was updated successfully, but these errors were encountered: