example.config.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. [info]
  2. url = "https://mint.thesimplekid.dev/"
  3. listen_host = "127.0.0.1"
  4. listen_port = 8085
  5. mnemonic = ""
  6. # input_fee_ppk = 0
  7. # enable_swagger_ui = false
  8. [info.http_cache]
  9. # memory or redis
  10. backend = "memory"
  11. ttl = 60
  12. tti = 60
  13. # `key_prefix` and `connection_string` required for redis
  14. # key_prefix = "mintd"
  15. # connection_string = "redis://localhost"
  16. [mint_info]
  17. # name = "cdk-mintd mutiney net mint"
  18. # Hex pubkey of mint
  19. # pubkey = ""
  20. # description = "These are not real sats for testing only"
  21. # description_long = "A longer mint for testing"
  22. # motd = "Hello world"
  23. # icon_url = "https://this-is-a-mint-icon-url.com/icon.png"
  24. # contact_email = "hello@cashu.me"
  25. # Nostr pubkey of mint (Hex)
  26. # contact_nostr_public_key = ""
  27. [database]
  28. # Database engine (sqlite/redb) defaults to sqlite
  29. # engine = "sqlite"
  30. [ln]
  31. # Required ln backend `cln`, `lnd`, `strike`, `fakewallet`, 'lnbits', 'phoenixd'
  32. ln_backend = "cln"
  33. # For 'phoenixd' backend, also specify fee_percent (% fee of the ln payment that mint will put in the melt quote) and reserve_fee_min (absolute amount-higher of fee_percent or reserve_fee_min is the fee reserve).
  34. # fee_percent=0.04
  35. # reserve_fee_min=4
  36. [cln]
  37. #Required if using cln backend path to rpc
  38. cln_path = ""
  39. rpc_path = ""
  40. fee_percent = 0.02
  41. reserve_fee_min = 1
  42. # [strike]
  43. # For the Webhook subscription, the url under [info] must be a valid, absolute, non-local, https url
  44. # api_key=""
  45. # Optional default sats
  46. # supported_units=[""]
  47. # [lnbits]
  48. # admin_api_key = ""
  49. # invoice_api_key = ""
  50. # lnbits_api = ""
  51. # [phoenixd]
  52. # api_password = ""
  53. # api_url = ""
  54. # [lnd]
  55. # address = ""
  56. # macaroon_file = ""
  57. # cert_file = ""
  58. # [fake_wallet]
  59. # supported_units = ["sat"]
  60. # fee_percent = 0.02
  61. # reserve_fee_min = 1
  62. # min_delay_time = 1
  63. # max_delay_time = 3