Closed ecurrencyhodler closed 9 months ago
Setup Node and backend Setup Lightning node in a swarm. Open endpoint to call to Swarm, generate invoice from lightning node, and display invoice to user via macaroon. Store invoices in backend per L402. Enable soft-delete of expired invoices.
Here is the payment flow for context:
This is not needed as payment logic will be handled through the boltwall of each invidivual secondbrain.
Setup Node and backend Setup Lightning node in a swarm. Open endpoint to call to Swarm, generate invoice from lightning node, and display invoice to user via macaroon. Store invoices in backend per L402. Enable soft-delete of expired invoices.
Design
Here is the payment flow for context:
![Desktop - 8](https://github.com/stakwork/sphinx-js/assets/32662508/d712e9cc-155f-4ff7-9361-8da0fbacd473)