exchange/contrib/exchange-template/config/exchange-common.conf

50 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-03-01 15:35:04 +01:00
[exchange]
# Currency supported by the exchange (can only be one)
2015-04-11 16:38:09 +02:00
CURRENCY = EUR
2015-01-08 18:37:20 +01:00
2016-03-01 15:35:04 +01:00
# HTTP port the exchange listens to
2015-04-11 16:38:09 +02:00
PORT = 4241
2016-03-01 15:35:04 +01:00
# Master public key used to sign the exchange's various keys
2015-05-07 12:38:17 +02:00
MASTER_PUBLIC_KEY = NEGTF62MNGVPZNW19V7S3CRS9D7K04MAHDGX3N6WY2NXREN26J80
2015-06-11 16:11:07 +02:00
# How to access our database
DB = postgres
# Is this for testing, or for real?
2015-06-18 14:25:09 +02:00
TESTRUN = YES
2015-06-11 16:11:07 +02:00
2016-03-01 15:35:04 +01:00
[exchangedb-postgres]
2015-06-18 14:25:09 +02:00
DB_CONN_STR = "postgres:///talercheck"
2015-09-15 17:27:02 +02:00
[auditordb-postgres]
DB_CONN_STR = "postgres:///talercheck"
# Provide account information
[account-1]
# Accounts must have a payto:// URL
URL = payto://METHOD/DETAILS
# Accounts need to be enabled for the aggregator to debit them.
ENABLE_DEBIT = NO
# Accounts need to be enabled for the wirewatcher to look for credits into them.
ENABLE_CREDIT = YES
[account-2]
URL = payto://x-taler-wire/bank/2
# We also may need authentication data.
TALER_BANK_AUTH_METHOD = "none" # or basic
# TALER_TALER_TESTING_BANK_USERNAME = user
# TALER_TALER_TESTING_BANK_PASSWORD = pass
# Accounts need to be enabled for the aggregator to debit them.
ENABLE_DEBIT = YES
# Accounts need to be enabled for the wirewatcher to look for credits into them.
ENABLE_CREDIT = YES