LND LNURL
Commandline tool to use LNURL payRequest
and withdrawRequest
with LND.
Usage:
- Customize config
lndlnurl.conf
- Run
python main.py
Docker:
docker run -t -i --rm -v cred:/code/cred:ro -v $PWD/lndlnurl.conf:/code/lndlnurl.conf ghcr.io/dsbaars/lnd-lnurl LNURL1DP68GURN8GHJ7MRWW3UXYMM59E3K7MF0D3H82UNV9ACXZ7FLW4EK2UNFVS7NXWPKXSURYYAF0CA
Docker (on Umbrel machines):
docker run -t -i --rm --network="umbrel_main_network" -v ~/umbrel/lnd:/.lnd:ro -v $PWD/lndlnurl.conf:/code/lndlnurl.conf ghcr.io/dsbaars/lnd-lnurl:latest LNURL1DP68GURN8GHJ7MRWW3UXYMM59E3K7MF0D3H82UNV9ACXZ7FLW4EK2UNFVS7NXWPKXSURYYAF0CA
Create alias
Add the following to your .bash_profile
lnurl() { docker run -t -i --rm --network="umbrel_main_network" -v /home/umbrel/umbrel/lnd:/.lnd:ro -v /home/umbrel/lndlnurl.conf:/code/lndlnurl.conf ghcr.io/dsbaars/lnd-lnurl:latest $1; }
Then you can just run it like this:
umbrel@umbrel:~ $ lnurl LNURL1DP68GURN8GHJ7MRWW3UXYMM59E3K7MF0D3H82UNV9ACXZ7FLW4EK2UNFVS7NXWPKXSURYYAF0CA
Umbrel Config
[lnd]
tlscertpath = /.lnd/tls.cert
macaroonpath = /.lnd/data/chain/bitcoin/mainnet/admin.macaroon
restserver = 10.21.21.9:8080
rpcserver = 10.21.21.9:10009
[tor]
active = true
socks = 10.21.21.11:9050
Build docker image
docker build -f Dockerfile.buster -t lndlnurl-buster .
docker tag lndlnurl-buster ghcr.io/dsbaars/lnd-lnurl
docker push ghcr.io/dsbaars/lnd-lnurl