Commandline tool to use LNURL payRequest
and withdrawRequest
with LND.
Also works with Lightning Address
- Customize config
lndlnurl.conf
- Run
python main.py <LNURL>
docker run -t -i --rm -v cred:/code/cred:ro -v $PWD/lndlnurl.conf:/code/lndlnurl.conf ghcr.io/dsbaars/lnd-lnurl LNURL1DP68GURN8GHJ7MRWW3UXYMM59E3K7MF0D3H82UNV9ACXZ7FLW4EK2UNFVS7NXWPKXSURYYAF0CA
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
docker run -t -i --rm --network="citadel_main_network" -v ~/citadel/lnd:/.lnd:ro -v $PWD/lndlnurl.conf:/code/lndlnurl.conf ghcr.io/dsbaars/lnd-lnurl:latest LNURL1DP68GURN8GHJ7MRWW3UXYMM59E3K7MF0D3H82UNV9ACXZ7FLW4EK2UNFVS7NXWPKXSURYYAF0CA
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:
$ lnurl LNURL1DP68GURN8GHJ7MRWW3UXYMM59E3K7MF0D3H82UNV9ACXZ7FLW4EK2UNFVS7NXWPKXSURYYAF0CA
$ lnurl djurib@lntxbot.com
[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
docker build -f Dockerfile.buster -t lndlnurl-buster .
docker tag lndlnurl-buster ghcr.io/dsbaars/lnd-lnurl
docker push ghcr.io/dsbaars/lnd-lnurl
docker pull ghcr.io/dsbaars/lnd-lnurl:latest