c2ec-config.conf (2444B)
1 [c2ec] 2 3 # Used as redirect to sourcecode location on /agpl 4 SOURCE = https://git.taler.net/cashless2ecash.git/tree/c2ec 5 6 # Will force production specific configuration 7 # for example the simulation terminal cannot be 8 # used in production 9 PROD = false 10 11 # tcp or unix 12 SERVE = tcp 13 14 # only effective when SERVE = tcp 15 HOST = localhost 16 17 # only effective when SERVE = tcp 18 PORT = 8082 19 20 # only effective when SERVE = unix 21 UNIXPATH = c2ec.sock 22 23 # only effective when SERVE = unix 24 UNIXPATH_MODE = 660 25 26 # how shall the application behave if 27 # an attestor is not configured? 28 # forced when PROD = true 29 FAIL_ON_MISSING_ATTESTORS = false 30 31 # This exchange will be sent to the wallet in order 32 # to allow the withdrawal through it. 33 # MAKE SURE TO DEFINE THE URL IN CANONICAL FORM (ending with /) 34 # withdrawals will not work otherwise 35 EXCHANGE_BASE_URL = "http://exchange.test.net/" 36 37 # The account where the exchange receives payments 38 # of the providers. Must be the same, in the providers 39 # backend. 40 EXCHANGE_ACCOUNT = payto://iban/CH50030202099498 41 42 # The currency supported by this C2EC instance 43 # The terminals must accept payments in this currency 44 # and the Exchange creating the reserve must create 45 # reserves with the specified currency. 46 CURRENCY = CHF 47 48 # How many digits does the currency use by default on displays. 49 # Hint provided to wallets. Should be 2 for EUR/USD/CHF, 50 # and 0 for JPY. 51 CURRENCY_FRACTION_DIGITS = 2 52 53 # Fees which are to be added to each withdrawal of the 54 # payment service providers. Default: none. 55 WITHDRAWAL_FEES = CHF:0.0 56 57 # How many retries shall be triggered, when the confirmation 58 # of a transaction fails (when negative, the process tries forever) 59 MAX_RETRIES = -1 60 61 # How long shall the confirmations retry be delayed in milliseconds at max? 62 # When the delay backoff algorithm results in a higher value, this value 63 # is set as delay before retrying. 64 RETRY_DELAY_MS = 1000 65 66 [wire-gateway] 67 68 USERNAME = wire 69 70 PASSWORD = secret 71 72 [database] 73 74 CONFIG = postgres:///c2ec 75 76 # each provider gets its own provider section. 77 # the section name should be like 'provider-[provider_name]' 78 [provider-wallee] 79 80 # the name of the provider must match the name of the provider in 81 # the database. 82 NAME = Wallee 83 84 # The secret must be capable of accessing the credentials, stored 85 # during the registration of the provider using the cli. 86 KEY = secret 87 88 [provider-simulation] 89 90 NAME = Simulation 91 KEY = secret 92 93 # [provider-xyz] 94 # 95 # NAME = xyz 96 # KEY = secret