Lightning Address Server
Before you begin you'll want to setup a Lightning backend, for example phoenixd.
- Compile
satdressandsatdress-cliby runningmake. This will rungo buildandgo build ./cli/satdress-cli.go. - Copy and edit the sample config at
config-sample.yml, you can create keys and output wallet connection strings withsatdress-cli. - Start the app with
./satdress --conf <path/to/config.yml>. - Copy
satdressto the system (e.g./var/local/bin/satdress). - Configure, install and enable the daemon scripts (e.g.
scripts/lightning-address.serviceto/etc/systemd/system/lightning-address.service).
- Lightning Address
- NIP-57 (Nostr Lightning Zaps)
- NIP-47 (Nostr Wallet Connect)
Full support:
- Phoenix (phoenixd)
Limited support:
- Commando (Core Lightning)
- Sparko
- LND
- LNBits
- LNPay
- Eclair
Build the image:
docker build -t satdress .Notes:
- The datadir is a docker volume and is mounted at
/var/lib/satdress. - The configuration file is a docker secret and is expected to be mounted at
/run/secrets/satdress.yml.
Create a secret for the service:
docker secret create satdress.yml ./config.ymlCreate and start the service using the secret config:
docker service create --name satdress --secret satdress.yml satdress:latest
