2020-09-28 23:49:11 +02:00
|
|
|
QUART_APP=lnbits.app:create_app()
|
2020-09-15 04:28:10 +02:00
|
|
|
QUART_ENV=development
|
2020-09-15 22:19:11 +02:00
|
|
|
QUART_DEBUG=true
|
2020-09-15 04:28:10 +02:00
|
|
|
|
|
|
|
HOST=127.0.0.1
|
|
|
|
PORT=5000
|
2019-12-14 10:13:27 +01:00
|
|
|
|
2020-09-07 16:05:50 +02:00
|
|
|
LNBITS_ALLOWED_USERS=""
|
2022-01-31 13:04:12 +01:00
|
|
|
LNBITS_ADMIN_USERS=""
|
2022-02-07 21:48:48 +01:00
|
|
|
# Extensions only admin can access
|
|
|
|
LNBITS_ADMIN_EXTENSIONS="ngrok"
|
2020-03-08 23:00:41 +01:00
|
|
|
LNBITS_DEFAULT_WALLET_NAME="LNbits wallet"
|
2021-06-22 04:22:52 +02:00
|
|
|
|
2022-02-07 21:48:48 +01:00
|
|
|
# Disable extensions for all users, use "all" to disable all extensions
|
|
|
|
LNBITS_DISABLED_EXTENSIONS="amilk"
|
|
|
|
|
2021-07-03 00:10:57 +02:00
|
|
|
# Database: to use SQLite, specify LNBITS_DATA_FOLDER
|
|
|
|
# to use PostgreSQL, specify LNBITS_DATABASE_URL=postgres://...
|
|
|
|
# to use CockroachDB, specify LNBITS_DATABASE_URL=cockroachdb://...
|
|
|
|
# for both PostgreSQL and CockroachDB, you'll need to install
|
|
|
|
# psycopg2 as an additional dependency
|
2021-03-19 12:27:41 +01:00
|
|
|
LNBITS_DATA_FOLDER="./data"
|
2021-07-03 00:10:57 +02:00
|
|
|
# LNBITS_DATABASE_URL="postgres://user:password@host:port/databasename"
|
2021-06-22 04:22:52 +02:00
|
|
|
|
2020-09-15 22:19:11 +02:00
|
|
|
LNBITS_FORCE_HTTPS=true
|
2020-04-21 15:44:02 +02:00
|
|
|
LNBITS_SERVICE_FEE="0.0"
|
2020-03-08 23:00:41 +01:00
|
|
|
|
2021-06-28 23:57:23 +02:00
|
|
|
# Change theme
|
2021-07-02 13:31:05 +02:00
|
|
|
LNBITS_SITE_TITLE="LNbits"
|
|
|
|
LNBITS_SITE_TAGLINE="free and open-source lightning wallet"
|
|
|
|
LNBITS_SITE_DESCRIPTION="Some description about your service, will display if title is not 'LNbits'"
|
2021-07-01 13:34:50 +02:00
|
|
|
# Choose from mint, flamingo, salvador, autumn, monochrome, classic
|
|
|
|
LNBITS_THEME_OPTIONS="mint, flamingo, classic, autumn, monochrome, salvador"
|
2021-06-28 23:57:23 +02:00
|
|
|
|
2020-10-02 19:53:55 +02:00
|
|
|
# Choose from LNPayWallet, OpenNodeWallet, LntxbotWallet, LndWallet (gRPC),
|
2022-01-30 11:41:20 +01:00
|
|
|
# LndRestWallet, CLightningWallet, LNbitsWallet, SparkWallet, FakeWallet
|
2020-10-02 19:53:55 +02:00
|
|
|
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 17:10:53 +02:00
|
|
|
|
2020-10-02 19:53:55 +02: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 23:47:16 +02:00
|
|
|
CLIGHTNING_RPC="/home/bob/.lightning/bitcoin/lightning-rpc"
|
2020-04-16 17:10:53 +02:00
|
|
|
|
2020-10-02 19:53:55 +02:00
|
|
|
# LnbitsWallet
|
2022-01-14 10:43:30 +01:00
|
|
|
LNBITS_ENDPOINT=https://legend.lnbits.com
|
2020-10-08 21:03:18 +02:00
|
|
|
LNBITS_KEY=LNBITS_ADMIN_KEY
|
2020-03-31 19:05:25 +02:00
|
|
|
|
2020-10-02 19:53:55 +02:00
|
|
|
# LndWallet
|
2020-04-02 13:12:03 +02:00
|
|
|
LND_GRPC_ENDPOINT=127.0.0.1
|
|
|
|
LND_GRPC_PORT=11009
|
2020-10-02 22:13:33 +02:00
|
|
|
LND_GRPC_CERT="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/tls.cert"
|
2021-07-07 12:06:11 +02:00
|
|
|
LND_GRPC_MACAROON="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/admin.macaroon or HEXSTRING"
|
2022-02-14 17:54:05 +01:00
|
|
|
# To use an AES-encrypted macaroon, set
|
|
|
|
# LND_GRPC_MACAROON_ENCRYPTED="eNcRyPtEdMaCaRoOn"
|
2020-01-10 21:26:42 +01:00
|
|
|
|
2020-10-02 19:53:55 +02:00
|
|
|
# LndRestWallet
|
2020-10-03 22:27:55 +02:00
|
|
|
LND_REST_ENDPOINT=https://127.0.0.1:8080/
|
2020-04-25 23:39:30 +02:00
|
|
|
LND_REST_CERT="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/tls.cert"
|
2021-07-07 12:06:11 +02:00
|
|
|
LND_REST_MACAROON="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/admin.macaroon or HEXSTRING"
|
2022-02-14 17:54:05 +01:00
|
|
|
# To use an AES-encrypted macaroon, set
|
|
|
|
# LND_REST_MACAROON_ENCRYPTED="eNcRyPtEdMaCaRoOn"
|
2020-04-25 23:39:30 +02:00
|
|
|
|
2020-10-02 19:53:55 +02:00
|
|
|
# LNPayWallet
|
2021-04-11 22:06:39 +02:00
|
|
|
LNPAY_API_ENDPOINT=https://api.lnpay.co/v1/
|
2021-06-04 20:24:14 +02:00
|
|
|
# Secret API Key under developers tab
|
2020-04-16 17:10:53 +02:00
|
|
|
LNPAY_API_KEY=LNPAY_API_KEY
|
2021-06-04 20:24:14 +02:00
|
|
|
# Wallet Admin in Wallet Access Keys
|
2020-10-08 21:03:18 +02:00
|
|
|
LNPAY_WALLET_KEY=LNPAY_ADMIN_KEY
|
2020-04-03 12:24:49 +02:00
|
|
|
|
2020-10-02 19:53:55 +02:00
|
|
|
# LntxbotWallet
|
2021-11-12 07:05:59 +01:00
|
|
|
LNTXBOT_API_ENDPOINT=https://lntxbot.com/
|
2020-10-08 21:03:18 +02:00
|
|
|
LNTXBOT_KEY=LNTXBOT_ADMIN_KEY
|
2019-12-18 14:44:58 +01:00
|
|
|
|
2020-10-02 19:53:55 +02:00
|
|
|
# OpenNodeWallet
|
2020-01-12 01:46:09 +01:00
|
|
|
OPENNODE_API_ENDPOINT=https://api.opennode.com/
|
2020-10-08 21:03:18 +02:00
|
|
|
OPENNODE_KEY=OPENNODE_ADMIN_KEY
|
2022-01-31 12:07:29 +01:00
|
|
|
|
|
|
|
# FakeWallet
|
2022-02-03 13:52:51 +01:00
|
|
|
FAKE_WALLET_SECRET="ToTheMoon1"
|
2022-02-02 18:29:57 +01:00
|
|
|
LNBITS_DENOMINATION=sats
|