example.config.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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`, `fakewallet`, 'lnbits'
  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. # [lnbits]
  51. # admin_api_key = ""
  52. # invoice_api_key = ""
  53. # lnbits_api = ""
  54. # fee_percent=0.04
  55. # reserve_fee_min=4
  56. # [lnd]
  57. # address = ""
  58. # macaroon_file = ""
  59. # cert_file = ""
  60. # fee_percent=0.04
  61. # reserve_fee_min=4
  62. # [fake_wallet]
  63. # supported_units = ["sat"]
  64. # fee_percent = 0.02
  65. # reserve_fee_min = 1
  66. # min_delay_time = 1
  67. # max_delay_time = 3
  68. # [grpc_processor]
  69. # gRPC Payment Processor configuration
  70. # supported_units = ["sat"]
  71. # addr = "127.0.0.1"
  72. # port = 50051
  73. # tls_dir = "/path/to/tls"
  74. # [auth]
  75. # openid_discovery = "http://127.0.0.1:8080/realms/cdk-test-realm/.well-known/openid-configuration"
  76. # openid_client_id = "cashu-client"
  77. # mint_max_bat=50
  78. # enabled_mint=true
  79. # enabled_melt=true
  80. # enabled_swap=true
  81. # enabled_check_mint_quote=true
  82. # enabled_check_melt_quote=true
  83. # enabled_restore=true