modulepackage
0.0.0-20250403171931-4ae8812889d2
Repository: https://github.com/breez/server.git
Documentation: pkg.go.dev
# README
server
Build
go build .
Run
First export the following environment variables:
LISTEN_ADDRESS="<host>:<port>"
FCM_KEY=<Your FCM key to send notifications>
LND_ADDRESS="<host>:<port>"
LND_CERT="-----BEGIN CERTIFICATE-----\\n<certificate content replacing each eol by \\n>\\n-----END CERTIFICATE-----\\n"
LND_MACAROON_HEX="<content of the macaroon file in hexadecimal>"
NETWORK=simnet #or testnet or mainnet
GOOGLE_CLOUD_SERVICE_FILE=<full path of the json file>
GOOGLE_CLOUD_IMAGES_BUCKET_NAME=<name>.appspot.com
REDIS_URL="127.0.0.1:6379"
REDIS_DB="6"
SPARKPOST_API_KEY=<api key>
CARD_NOTIFICATION_EMAIL=<email>
CARD_NOTIFICATION_NAME=<name>
CARD_NOTIFICATION_FROM=<email>
Then run:
./server
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author