turn on fees by default (#831)

This commit is contained in:
callebtc
2025-11-19 22:06:33 +01:00
committed by GitHub
parent 59c5daa039
commit f2afb214bb
2 changed files with 5 additions and 1 deletions

View File

@@ -58,6 +58,10 @@ MINT_DERIVATION_PATH="m/0'/0'/0'"
# In this example, we have 2 keysets for sat, 1 for msat and 1 for usd
# MINT_DERIVATION_PATH_LIST=["m/0'/0'/0'", "m/0'/0'/1'", "m/0'/1'/0'", "m/0'/2'/0'"]
# Input fee per 1000 inputs (ppk = per kilo).
# e.g. for 100 ppk: up to 10 inputs = 1 sat / 1 cent fee, for up to 20 inputs = 2 sat / 2 cent fee
MINT_INPUT_FEE_PPK=100
# To use SQLite, choose a directory to store the database
MINT_DATABASE=data/mint
# To use PostgreSQL, set the connection string

View File

@@ -61,7 +61,7 @@ class MintSettings(CashuSettings):
mint_test_database: str = Field(default="test_data/test_mint")
mint_max_secret_length: int = Field(default=1024)
mint_input_fee_ppk: int = Field(default=0)
mint_input_fee_ppk: int = Field(default=100)
mint_disable_melt_on_error: bool = Field(default=False)
mint_regular_tasks_interval_seconds: int = Field(