aboutsummaryrefslogtreecommitdiff
path: root/contrib/exchange-template/config/exchange-common.conf
blob: 615c3bf728c62c4670a95cdda02dc2c1fceb249f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[exchange]
# Currency supported by the exchange (can only be one)
CURRENCY = EUR

# HTTP port the exchange listens to
PORT = 4241

# Master public key used to sign the exchange's various keys
MASTER_PUBLIC_KEY = NEGTF62MNGVPZNW19V7S3CRS9D7K04MAHDGX3N6WY2NXREN26J80

# How to access our database
DB = postgres

# Is this for testing, or for real?
TESTRUN = YES

[exchangedb-postgres]
DB_CONN_STR = "postgres:///talercheck"

[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