Super useful starter template!
To benefit even more from WebLN I suggest checking for WebLN support first before showing some fallback options (QR codes, copy invoice, etc).
here is some example code for this feature. https://www.webln.guide/building-lightning-apps/best-practices#prioritize-webln-offer-fallback-options
Several wallets already support WebLN: Alby, BlueWallet, Blixt, Breez and its support keeps increasing. All their users can interact programmatically with lightning apps without QR codes.
Super useful starter template!
To benefit even more from WebLN I suggest checking for WebLN support first before showing some fallback options (QR codes, copy invoice, etc).
here is some example code for this feature. https://www.webln.guide/building-lightning-apps/best-practices#prioritize-webln-offer-fallback-options
Several wallets already support WebLN: Alby, BlueWallet, Blixt, Breez and its support keeps increasing. All their users can interact programmatically with lightning apps without QR codes.