mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 03:54:21 +01:00
* lightning: add fakewallet * make format * fix mypy * make backend configurable * weird mypy
44 lines
889 B
Plaintext
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"
|