lapp-template
lapp-template copied to clipboard
A simple project template to build your ⚡ Lightning Apps on. Authentication, WebLN, QR-Code fallbacks and more!
Lightning App Template
A simple project template to build your ⚡ Lightning Apps on. Authentication, WebLN, QR-Code fallbacks and more!
Features
- ✅ Lightning Authentication (using LNURL-auth)
- ✅ Request payments from users (WebLN + QR-Code)
- ✅ Invoice APIs (request invoices, check invoice status)
Getting started
Lightning setup
- Create an account on getalby.com
- Copy the
Lightning Addressof your wallet
Project setup
Remix this glitch and set the environment variables by editing the .env file:
ALBY_LIGHTNING_ADDRESS: TheLightning Addressof your Alby account