Files
nutshell/.env.example
calle 61078ce7c8 [Mint] add mint api tests (#189)
* add mint api tests

* add /info test and fix NUT-09 contact info strings

* add test mint api

* replace with requests
2023-05-02 00:43:49 +02:00

52 lines
1.2 KiB
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
# 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"]
# --------- MINT ---------
# MINT
MINT_INFO_NAME="My Cashu mint"
MINT_INFO_DESCRIPTION="The short mint description"
MINT_INFO_DESCRIPTION_LONG="A long mint description that can be a long piece of text."
MINT_INFO_CONTACT=[["email","contact@me.com"], ["twitter","@me"], ["nostr", "npub..."]]
MINT_INFO_MOTD="Message to users"
MINT_PRIVATE_KEY=supersecretprivatekey
# Supported: LNbitsWallet, FakeWallet
MINT_LIGHTNING_BACKEND=LNbitsWallet
MINT_LISTEN_HOST=127.0.0.1
MINT_LISTEN_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
MINT_LNBITS_ENDPOINT=https://legend.lnbits.com
MINT_LNBITS_KEY=yourkeyasdasdasd