example.config.toml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. [mint_management_rpc]
  9. # enabled = false
  10. # address = "127.0.0.1"
  11. # port = 8086
  12. [info.http_cache]
  13. # memory or redis
  14. backend = "memory"
  15. ttl = 60
  16. tti = 60
  17. # `key_prefix` and `connection_string` required for redis
  18. # key_prefix = "mintd"
  19. # connection_string = "redis://localhost"
  20. # NOTE: If [mint_management_rpc] is enabled these values will only be used on first start up.
  21. # Further changes must be made through the rpc.
  22. [mint_info]
  23. # name = "cdk-mintd mutiney net mint"
  24. # Hex pubkey of mint
  25. # pubkey = ""
  26. # description = "These are not real sats for testing only"
  27. # description_long = "A longer mint for testing"
  28. # motd = "Hello world"
  29. # icon_url = "https://this-is-a-mint-icon-url.com/icon.png"
  30. # contact_email = "hello@cashu.me"
  31. # Nostr pubkey of mint (Hex)
  32. # contact_nostr_public_key = ""
  33. # tos_url = "https://example.com/terms-of-service"
  34. [database]
  35. # Database engine (sqlite/redb) defaults to sqlite
  36. # engine = "sqlite"
  37. [ln]
  38. # Required ln backend `cln`, `lnd`, `strike`, `fakewallet`, 'lnbits', 'phoenixd'
  39. ln_backend = "cln"
  40. # min_mint=1
  41. # max_mint=500000
  42. # min_melt=1
  43. # max_melt=500000
  44. [cln]
  45. #Required if using cln backend path to rpc
  46. cln_path = ""
  47. rpc_path = ""
  48. fee_percent = 0.04
  49. reserve_fee_min = 4
  50. # [strike]
  51. # For the Webhook subscription, the url under [info] must be a valid, absolute, non-local, https url
  52. # api_key=""
  53. # Optional default sats
  54. # supported_units=[""]
  55. # fee_percent=0.04
  56. # reserve_fee_min=4
  57. # [lnbits]
  58. # admin_api_key = ""
  59. # invoice_api_key = ""
  60. # lnbits_api = ""
  61. # fee_percent=0.04
  62. # reserve_fee_min=4
  63. # [phoenixd]
  64. # 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).
  65. # api_password = ""
  66. # api_url = ""
  67. # fee_percent=0.05
  68. # reserve_fee_min=4
  69. # [lnd]
  70. # address = ""
  71. # macaroon_file = ""
  72. # cert_file = ""
  73. # fee_percent=0.04
  74. # reserve_fee_min=4
  75. # [fake_wallet]
  76. # supported_units = ["sat"]
  77. # fee_percent = 0.02
  78. # reserve_fee_min = 1
  79. # min_delay_time = 1
  80. # max_delay_time = 3
  81. # [grpc_processor]
  82. # gRPC Payment Processor configuration
  83. # supported_units = ["sat"]
  84. # addr = "127.0.0.1"
  85. # port = 50051
  86. # tls_dir = "/path/to/tls"