exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

exchange-common.conf (1182B)


      1 [exchange]
      2 # Currency supported by the exchange (can only be one)
      3 CURRENCY = EUR
      4 
      5 # HTTP port the exchange listens to
      6 PORT = 4241
      7 
      8 # Master public key used to sign the exchange's various keys
      9 MASTER_PUBLIC_KEY = NEGTF62MNGVPZNW19V7S3CRS9D7K04MAHDGX3N6WY2NXREN26J80
     10 
     11 # How to access our database
     12 DB = postgres
     13 
     14 # Is this for testing, or for real?
     15 TESTRUN = YES
     16 
     17 [exchangedb-postgres]
     18 DB_CONN_STR = "postgres:///talercheck"
     19 
     20 [auditordb-postgres]
     21 DB_CONN_STR = "postgres:///talercheck"
     22 
     23 
     24 # Provide account information
     25 [account-1]
     26 # Accounts must have a payto:// URL
     27 URL = payto://METHOD/DETAILS
     28 
     29 # Accounts need to be enabled for the aggregator to debit them.
     30 ENABLE_DEBIT = NO
     31 
     32 # Accounts need to be enabled for the wirewatcher to look for credits into them.
     33 ENABLE_CREDIT = YES
     34 
     35 [account-2]
     36 URL = payto://x-taler-wire/bank/2
     37 
     38 # We also may need authentication data.
     39 TALER_BANK_AUTH_METHOD = "none" # or basic
     40 # TALER_TALER_TESTING_BANK_USERNAME = user
     41 # TALER_TALER_TESTING_BANK_PASSWORD = pass
     42 
     43 # Accounts need to be enabled for the aggregator to debit them.
     44 ENABLE_DEBIT = YES
     45 
     46 # Accounts need to be enabled for the wirewatcher to look for credits into them.
     47 ENABLE_CREDIT = YES
     48 
     49