LightningTipBot icon indicating copy to clipboard operation
LightningTipBot copied to clipboard

Feature: Custom domain for hosted bot

Open iBobik opened this issue 4 years ago • 1 comments

Currently I have to install bot with LNBits on-premise to have Ln address on my own domain. But this could not be necessary.

Idea how it could work:

  1. /customdomain [email protected] "Short description for text/plain metadata field"
  2. Optionally attach image what will be used for image/png or image/jpeg metadata fields
  3. Bot will reply with an URL containing this JSON and instruct to upload this file to his website or set redirect from https://example.com/.well-known/lnurlp/username

iBobik avatar Nov 29 '21 00:11 iBobik

Hey, sorry for the late reply. Interesting idea, just to be clear, you'd like to use your bot wallet as a callback for any lightning address? You should be able to copy over the current JSON to your .well-known endpoint, as far as I see.

You're right about the modified metadata. The bot would need to create a PR with its hash, so we'd have to ask for it, and store the hash.

callebtc avatar Dec 04 '21 18:12 callebtc