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

Add Receive via Lightning address #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Bosch-0
Copy link
Collaborator

@Bosch-0 Bosch-0 commented Oct 21, 2021

Another LSP service added to list, will add details soon.

Also added a few other LSP services to this page in a2bf7eb (accidentally merged straight away sorry).

@netlify
Copy link

netlify bot commented Oct 21, 2021

✔️ Deploy Preview for boltfun ready!

🔨 Explore the source changes: 6fc1b71

🔍 Inspect the deploy log: https://app.netlify.com/sites/boltfun/deploys/6170f33b36af6000074e2573

😎 Browse the preview: https://deploy-preview-13--boltfun.netlify.app

@johnsBeharry
Copy link
Member

We take yolo merge to the next level here 🤣

@johnsBeharry
Copy link
Member

Let's dive in deeper with this one.

Cause technically it requires a web service for it's payment request generator, but it's also capability that the LSP may provide and fits into our lose definition of LSP #10.

What does offering lightning addresses to users that have a partial node on device require though?

  1. A macaroon which has permissions to generate invoices for LNURL-pay.
  2. A http server to host a LNURL "node"
  3. A connection to the end users lightning node in order to make several types of functions. Keep in mind there is the constraint: mobile, sometimes offline.
    a. openChannel
    b. payInvoice
    c. addInvoice
    d. getInvoiceStatus

Command for starting an LNURL server using lnurl-node:

lnurl server \
	--host "localhost" \
	--port "3000" \
	--auth.apiKeys '[{"id":"46f8cab814de07a8a65f","key":"ee7678f6fa5ab9cf3aa23148ef06553edd858a09639b3687113a5d5cdb5a2a67","encoding":"hex"}]' \
	--lightning.backend "lnd" \
	--lightning.config '{"hostname": "127.0.0.1:8080", "cert": "/path/to/tls.cert", "macaroon": "/path/to/admin.macaroon"}'

There seems to be a way to generate LNURLs offline. We need to find out how it gets the invoice, because this would be relevant to a mobile node which may be offline.


After writing all of this I should have asked: Does Blixt provide a lightning address to users? If they do then we would have to check how they allow this.

@Bosch-0
Copy link
Collaborator Author

Bosch-0 commented Nov 12, 2021

An open-source Lightning address server also exists: https://github.com/fiatjaf/satdress

Blixt doesn't have receiving but they likely will soon.

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

Successfully merging this pull request may close these issues.

2 participants