Like an email address, but for your Bitcoin! A massively simpler way for anyone to send you Bitcoin instantly on the Lightning Network.
- Nodejs >= 14
- Lightning node
- A domain name
- LND (LND with REST API)
- Eclair (v0.6.2)
git clone https://github.com/dolu89/ligess
cd ligess && yarn install
cp .env.example .env
# Edit .env with your info
yarn dev
git clone https://github.com/dolu89/ligess
# Edit `docker-compose.yml` with your details.
docker-compose up -d
You should be able to access to https://YOURDOMAIN.COM/.well-known/lnurlp/USERNAME and get a valid LUD-06 JSON response.
Now your Lightning address is configured as follow [email protected]
In .env
config file or docker-compose
environment:
LIGESS_LN_BACKEND=LND
LIGESS_LND_REST=https://yourLNDRestAPI.com # can be an onion url
LIGESS_LND_MACAROON=hex macaroon with createinvoice
In .env
config file or docker-compose
environment:
LIGESS_LN_BACKEND=Eclair
LIGESS_ECLAIR_REST=http://eclair_rest_api # can be an onion url
LIGESS_ECLAIR_LOGIN=login
LIGESS_ECLAIR_PASSWORD=password
In .env
config file or docker-compose
environment:
LIGESS_LN_BACKEND=LNbits
LIGESS_LNBITS_DOMAIN=https://lnbits.com # can be replaced by your own LNbits isntance url
LIGESS_LNBITS_API_KEY=this1is2an3example # can be found at the right of your wallet page, under "API info" > "Invoice/read key"
For the standalone install, be sure to have Tor running on your computer.
For the Docker install, add (or uncomment) the following lines in 'docker-compose.yml` in order to run Tor as a Docker container:
tor:
image: lncm/tor:latest
restart: on-failure
command: --SocksPort 0.0.0.0:9050
expose:
- 9050
Then specify the Tor proxy URL in .env
config file or docker-compose
environment:
LIGESS_TOR_PROXY_URL=socks5h://127.0.0.1:9050 # standalone installation
# or
LIGESS_TOR_PROXY_URL=socks5h://tor:9050 # docker installation
You can help me by contributing to this project or by donating to my Lightning address [email protected]
Other donation methods are avaible here https://bips.xyz/support