summaryrefslogtreecommitdiff
path: root/sandcastle/config/exchange/taler.conf
blob: a1fe78878884438c2e56aeed6809e4ddd03abcff (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# This file is a configuration template for the exchange.
# When the exchange container is started, values from deployment.conf
# are inserted into the __...__ placeholders here.

[taler]
currency = __CURRENCY__
currency_round_unit = __CURRENCY__:0.01
# Needed by older exchanges
AML_THRESHOLD = __CURRENCY__:10000000

[paths]
taler_data_home = /data/exchange

[taler-exchange-secmod-eddsa]
unixpath = /eddsa.http

[taler-exchange-secmod-rsa]
sm_priv_key = /data/taler-exchange-secmod-rsa/secmod-private-key
unixpath = /sockets/exchange-secmod-rsa.sock

[taler-exchange-secmod-cs]
sm_priv_key = /data/taler-exchange-secmod-cs/secmod-private-key
unixpath = /sockets/exchange-secmod-cs.sock

[exchange-accountcredentials-1]
username = exchange
wire_gateway_auth_method = basic
wire_gateway_url = __BANK_URL__/accounts/exchange/taler-wire-gateway/
password = __EXCHANGE_BANK_PASSWORD__

[exchange-account-1]
enable_credit = yes
enable_debit = yes
payto_uri = payto://iban/SANDBOXX/__EXCHANGE_IBAN__?receiver-name=Name+unknown

[exchange]
master_public_key = __EXCHANGE_MASTER_PUB__
AML_THRESHOLD = __CURRENCY__:10000000

privacy_etag = exchange-pp-v0
privacy_dir = /usr/local/share/taler/terms

terms_etag = exchange-tos-v0
terms_dir = /usr/local/share/taler/terms

base_url = __EXCHANGE_URL__
unixpath = /sockets/exchange.sock
serve = tcp
port = 80

[exchangedb-postgres]
config = postgres://root:__DB_PASSWORD__@talerdb/taler

[coin___CURRENCY___10]
rsa_keysize = 2048
fee_deposit = __CURRENCY__:0.01
fee_refund = __CURRENCY__:0.01
fee_refresh = __CURRENCY__:0.01
fee_withdraw = __CURRENCY__:0.01
duration_legal = 10 years
duration_spend = 5 years
duration_withdraw = 3 years
value = __CURRENCY__:10
cipher = RSA

[coin___CURRENCY___5]
rsa_keysize = 2048
fee_deposit = __CURRENCY__:0.01
fee_refund = __CURRENCY__:0.01
fee_refresh = __CURRENCY__:0.01
fee_withdraw = __CURRENCY__:0.01
duration_legal = 10 years
duration_spend = 5 years
duration_withdraw = 3 years
value = __CURRENCY__:5
cipher = RSA

[coin___CURRENCY___2]
rsa_keysize = 2048
fee_deposit = __CURRENCY__:0.01
fee_refund = __CURRENCY__:0.01
fee_refresh = __CURRENCY__:0.01
fee_withdraw = __CURRENCY__:0.01
duration_legal = 10 years
duration_spend = 5 years
duration_withdraw = 3 years
value = __CURRENCY__:2
cipher = RSA

[coin___CURRENCY___1]
rsa_keysize = 2048
fee_deposit = __CURRENCY__:0.01
fee_refund = __CURRENCY__:0.01
fee_refresh = __CURRENCY__:0.01
fee_withdraw = __CURRENCY__:0.01
duration_legal = 10 years
duration_spend = 5 years
duration_withdraw = 3 years
value = __CURRENCY__:1
cipher = RSA

[coin___CURRENCY___ct_10]
rsa_keysize = 2048
fee_deposit = __CURRENCY__:0.01
fee_refund = __CURRENCY__:0.01
fee_refresh = __CURRENCY__:0.01
fee_withdraw = __CURRENCY__:0.01
duration_legal = 10 years
duration_spend = 5 years
duration_withdraw = 3 years
value = __CURRENCY__:0.10
cipher = RSA