2020-09-28 21:49:11 +00:00
|
|
|
QUART_APP=lnbits.app:create_app()
|
2020-09-15 02:28:10 +00:00
|
|
|
QUART_ENV=development
|
2020-09-15 20:19:11 +00:00
|
|
|
QUART_DEBUG=true
|
2020-09-15 02:28:10 +00:00
|
|
|
|
|
|
|
HOST=127.0.0.1
|
|
|
|
PORT=5000
|
2019-12-14 09:13:27 +00:00
|
|
|
|
2020-04-16 15:10:53 +00:00
|
|
|
LNBITS_SITE_TITLE=LNbits
|
2020-09-07 14:05:50 +00:00
|
|
|
LNBITS_ALLOWED_USERS=""
|
2020-03-08 22:00:41 +00:00
|
|
|
LNBITS_DEFAULT_WALLET_NAME="LNbits wallet"
|
2020-10-02 17:53:55 +00:00
|
|
|
LNBITS_DATA_FOLDER="."
|
2020-09-08 08:55:31 +00:00
|
|
|
LNBITS_DISABLED_EXTENSIONS="amilk"
|
2020-09-15 20:19:11 +00:00
|
|
|
LNBITS_FORCE_HTTPS=true
|
2020-04-21 13:44:02 +00:00
|
|
|
LNBITS_SERVICE_FEE="0.0"
|
2020-03-08 22:00:41 +00:00
|
|
|
|
2020-10-02 17:53:55 +00:00
|
|
|
# Choose from LNPayWallet, OpenNodeWallet, LntxbotWallet, LndWallet (gRPC),
|
|
|
|
# LndRestWallet, CLightningWallet, LnbitsWallet, SparkWallet
|
|
|
|
LNBITS_BACKEND_WALLET_CLASS=VoidWallet
|
|
|
|
# VoidWallet is just a fallback that works without any actual Lightning capabilities,
|
|
|
|
# just so you can see the UI before dealing with this file.
|
2020-04-16 15:10:53 +00:00
|
|
|
|
2020-10-02 17:53:55 +00:00
|
|
|
# Set one of these blocks depending on the wallet kind you chose above:
|
|
|
|
# SparkWallet
|
|
|
|
SPARK_URL=http://localhost:9737/rpc
|
|
|
|
SPARK_TOKEN=myaccesstoken
|
|
|
|
|
|
|
|
# CLightningWallet
|
2020-04-21 21:47:16 +00:00
|
|
|
CLIGHTNING_RPC="/home/bob/.lightning/bitcoin/lightning-rpc"
|
2020-04-16 15:10:53 +00:00
|
|
|
|
2020-10-02 17:53:55 +00:00
|
|
|
# LnbitsWallet
|
2020-04-16 15:10:53 +00:00
|
|
|
LNBITS_ENDPOINT=127.0.0.1:5000
|
|
|
|
LNBITS_INVOICE_MACAROON=LNBITS_INVOICE_MACAROON
|
|
|
|
LNBITS_ADMIN_MACAROON=LNBITS_ADMIN_MACAROON
|
2020-03-31 17:05:25 +00:00
|
|
|
|
2020-10-02 17:53:55 +00:00
|
|
|
# LndWallet
|
2020-04-02 11:12:03 +00:00
|
|
|
LND_GRPC_ENDPOINT=127.0.0.1
|
|
|
|
LND_GRPC_PORT=11009
|
2020-10-02 20:13:33 +00:00
|
|
|
LND_GRPC_CERT="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/tls.cert"
|
2020-10-03 20:27:55 +00:00
|
|
|
LND_GRPC_ADMIN_MACAROON="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/admin.macaroon"
|
|
|
|
LND_GRPC_INVOICE_MACAROON="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/invoice.macaroon"
|
2020-01-10 20:26:42 +00:00
|
|
|
|
2020-10-02 17:53:55 +00:00
|
|
|
# LndRestWallet
|
2020-10-03 20:27:55 +00:00
|
|
|
LND_REST_ENDPOINT=https://127.0.0.1:8080/
|
2020-04-25 21:39:30 +00:00
|
|
|
LND_REST_CERT="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/tls.cert"
|
|
|
|
LND_REST_ADMIN_MACAROON="HEXSTRING"
|
|
|
|
LND_REST_INVOICE_MACAROON="HEXSTRING"
|
|
|
|
|
2020-10-02 17:53:55 +00:00
|
|
|
# LNPayWallet
|
2020-04-16 15:10:53 +00:00
|
|
|
LNPAY_API_ENDPOINT=https://lnpay.co/v1/
|
|
|
|
LNPAY_API_KEY=LNPAY_API_KEY
|
|
|
|
LNPAY_ADMIN_KEY=LNPAY_ADMIN_KEY
|
|
|
|
LNPAY_INVOICE_KEY=LNPAY_INVOICE_KEY
|
2020-04-03 10:24:49 +00:00
|
|
|
|
2020-10-02 17:53:55 +00:00
|
|
|
# LntxbotWallet
|
2019-12-14 09:13:27 +00:00
|
|
|
LNTXBOT_API_ENDPOINT=https://lntxbot.bigsun.xyz/
|
|
|
|
LNTXBOT_ADMIN_KEY=LNTXBOT_ADMIN_KEY
|
|
|
|
LNTXBOT_INVOICE_KEY=LNTXBOT_INVOICE_KEY
|
2019-12-18 13:44:58 +00:00
|
|
|
|
2020-10-02 17:53:55 +00:00
|
|
|
# OpenNodeWallet
|
2020-01-12 00:46:09 +00:00
|
|
|
OPENNODE_API_ENDPOINT=https://api.opennode.com/
|
|
|
|
OPENNODE_ADMIN_KEY=OPENNODE_ADMIN_KEY
|
|
|
|
OPENNODE_INVOICE_KEY=OPENNODE_INVOICE_KEY
|