Files
nutshell/.env.example
calle 3333102327 lightning: add fakewallet (#134)
* lightning: add fakewallet

* make format

* fix mypy

* make backend configurable

* weird mypy
2023-03-07 17:49:27 +01:00

44 lines
889 B
Plaintext

DEBUG=FALSE
CASHU_DIR=~/.cashu
# WALLET
# MINT_URL=https://localhost:3338
MINT_HOST=127.0.0.1
MINT_PORT=3338
MINT_DATABASE=data/mint
# use builtin tor, this overrides SOCKS_HOST and SOCKS_PORT
TOR=TRUE
# use custom tor proxy, this will only work with TOR=false
#SOCKS_HOST=localhost
#SOCKS_PORT=9050
# MINT
MINT_PRIVATE_KEY=supersecretprivatekey
# Supported: LNbitsWallet, FakeWallet
MINT_LIGHTNING_BACKEND=LNbitsWallet
MINT_SERVER_HOST=127.0.0.1
MINT_SERVER_PORT=3338
LIGHTNING=TRUE
# fee to reserve in percent of the amount
LIGHTNING_FEE_PERCENT=1.0
# minimum fee to reserve
LIGHTNING_RESERVE_FEE_MIN=4000
LNBITS_ENDPOINT=https://legend.lnbits.com
LNBITS_KEY=yourkeyasdasdasd
# NOSTR
# nostr private key to which to receive tokens to
NOSTR_PRIVATE_KEY=nostr_privatekey_here_hex_or_bech32
# nostr relays (comma separated list)
NOSTR_RELAYS="wss://nostr-pub.wellorder.net"