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

Is some another middleware really needed? #24

Open
petrkr opened this issue Nov 13, 2021 · 1 comment
Open

Is some another middleware really needed? #24

petrkr opened this issue Nov 13, 2021 · 1 comment

Comments

@petrkr
Copy link

petrkr commented Nov 13, 2021

this is really good idea how to introduce "pay to "email" address" . But is there really neede that bridge middleware if you already have working LNURL solutions ? Why just simply do not reply lnpayurl address in that "json" response?

I can understand use-case for plain lnd which does not implmenet lnurl/lnpay itself, but what is added benefit of another running piece of software server when there is already lnbits or btcpay for example?

I can go out with one static json file in webroot with lnpay poiting to lnbits (or btcpay) and it could work aswell. Yes for some more users this json could be generated from some DB or something. But that is already users-usecase, not for individual one-man wallets.

@andrerfneves
Copy link
Owner

You don't need a bridge server or middleware needed if you already have LNURL Pay in your server system. Lightning Address is a simple naming resolver for LNURL Pay. There are actually many paths to getting a Lightning Address to work, a simple JSON file on a server would technically/theoretically work I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants