summaryrefslogtreecommitdiff
path: root/contrib/exchange-template/config/exchange-common.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-15 15:00:26 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-15 15:00:26 +0200
commit74e237164ce7958c19467ad440e45576c4425570 (patch)
treee5156b7197cbb76ad0b0d617d9a04eeb2c08ea48 /contrib/exchange-template/config/exchange-common.conf
parentebf049a8c2d982e723fe67dbff64e1eea14d8247 (diff)
parent3098c0a9e0b18a436e484ef693cdebeb16d4c131 (diff)
downloadexchange-74e237164ce7958c19467ad440e45576c4425570.tar.gz
exchange-74e237164ce7958c19467ad440e45576c4425570.tar.bz2
exchange-74e237164ce7958c19467ad440e45576c4425570.zip
Merge branch 'master' of ssh://taler.net:/var/git/exchange
Diffstat (limited to 'contrib/exchange-template/config/exchange-common.conf')
-rw-r--r--contrib/exchange-template/config/exchange-common.conf43
1 files changed, 43 insertions, 0 deletions
diff --git a/contrib/exchange-template/config/exchange-common.conf b/contrib/exchange-template/config/exchange-common.conf
new file mode 100644
index 000000000..eddde3c32
--- /dev/null
+++ b/contrib/exchange-template/config/exchange-common.conf
@@ -0,0 +1,43 @@
+[exchange]
+# Currency supported by the exchange (can only be one)
+CURRENCY = EUR
+
+# Wire format supported by the exchange, case-insensitive.
+# Examples for formats include 'test' for testing and 'sepa' (for EU IBAN).
+WIREFORMAT = SEPA
+
+# 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"
+
+[wire-incoming-sepa]
+SEPA_RESPONSE_FILE = "sepa.json"
+
+[wire-outgoing-sepa]
+SEPA_RESPONSE_FILE = "sepa.json"
+
+
+[wire-incoming-test]
+# What is the main website of the bank?
+BANK_URI = "https://bank/"
+# Into which account at the 'bank' should incoming
+# wire transfers be made?
+BANK_ACCOUNT_NUMBER = 2
+
+[wire-outgoing-test]
+# What is the main website of the bank?
+BANK_URI = "https://bank/"
+# From which account at the 'bank' should outgoing
+# wire transfers be made?
+BANK_ACCOUNT_NUMBER = 2