/lnurlauth

Canonical lnurl auth implementation

Primary LanguageGoMIT LicenseMIT

Coverage Status Renovate enabled Build status Build status Go Report Card

LN Url

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

Getting Started:

Running Locally:

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

Running on Heroku:

  1. Click the deploy button below

Deploy

  1. Enter an available app name and hit deploy:

  1. Wait for the deploy to finish

  1. Visit your app

  1. Now you should be able to authenticate using a lightning wallet such as breez: