lnbits / nostrnip5

MIT License
3 stars 3 forks source link

Ln address #13

Closed motorina0 closed 2 months ago

gallizoltan commented 3 days ago

Please, at least provide minimal documentation! What is a Lightning Address API Endpoint and what is a Lightning Address Admin Key? This plugin keeps throwing a 500 INTERNAL SERVER ERROR for No api key found for LN Address, and I can't figure out what it's referring to.

motorina0 commented 2 days ago

You are right, the documentation on this is behind the code. The extension has an settings which can be accessed as admin. See screenshot below: image

The hints on the input field should help a bit. The Lightning Address API Endpoint will attach an LN-address to a particular NIP5. The LN-address functionality is provided by the lnurlp extension. The above settings just allow the admin to configure the endpoint and the access key (can be on the same LNbits instance or on a different one)