A golang lnurl example implementation by entropy. This library is meant to demonstrate a service conforming to the lnurl-auth standard and provide canonical ways of authenticating with lnurl auth. This library is based on passport-ln-url-auth and utilizes go-lnurl. You can see a live demo here
If you'd like to run this library locally, you can run examples/main.go --help
. If you run with --localtunnels=false
and your wallet is on another device, you will be unable to authenticate. We enable localtunnels by default
- Click the deploy button below
- Enter an available app name and hit deploy:
- Wait for the deploy to finish
- Visit your app
- Now you should be able to authenticate using a lightning wallet such as breez: