2021-08-14 23:52:16 +00:00
|
|
|
# Satdress
|
|
|
|
|
|
|
|
Federated Lightning Address Server
|
|
|
|
|
2021-08-15 00:07:13 +00:00
|
|
|
## How to run
|
|
|
|
|
|
|
|
1. Download the binary from the releases page (or compile with `go build` or `go get`)
|
|
|
|
2. Set the following environment variables somehow (using example values from bitmia.com):
|
2022-01-18 23:50:47 +00:00
|
|
|
(note that DOMAIN can be a comma-seperated list or a single domain, when using multiple domains
|
|
|
|
you need to make sure "Host" HTTP header is forwarded to satdress process if you have some reverse-proxy)
|
2021-08-15 00:07:13 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
PORT=17422
|
|
|
|
DOMAIN=bitmia.com
|
|
|
|
SECRET=askdbasjdhvakjvsdjasd
|
|
|
|
SITE_OWNER_URL=https://t.me/qecez
|
|
|
|
SITE_OWNER_NAME=@qecez
|
|
|
|
SITE_NAME=Bitmia
|
|
|
|
```
|
|
|
|
|
|
|
|
3. Start the app with `./satdress`
|
|
|
|
4. Serve the app to the world on your domain using whatever technique you're used to
|
|
|
|
|
|
|
|
## Get help
|
|
|
|
|
|
|
|
Maybe ask for help on https://t.me/lnurl if you're in trouble.
|