Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Blink with Mint WebSocket connection #20

Open
Egge21M opened this issue Mar 26, 2024 · 0 comments
Open

Replace Blink with Mint WebSocket connection #20

Egge21M opened this issue Mar 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Egge21M
Copy link
Collaborator

Egge21M commented Mar 26, 2024

Feature Request

Is your feature request related to a problem? Please describe.

In order for npubcash to work properly it needs to know when invoices generated through LNURL get paid. Because polling mints is unfeasible, npubcash uses Blink to wrap each invoice and then uses Blink's WebHooks API to get notified.

While this works flawlessly, we should strive to reduce third party dependencies...

Describe the solution you'd like

Because polling is unfeasible we need a way for a mint to actively notify npubcash whenever an invoice has been paid. Mint WebSockets (cashubtc/nuts#98) would solve this issue. Once this is implemented in Mints we can savely transition to WebSockets and remove Blink API completely.

@Egge21M Egge21M added the enhancement New feature or request label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant