bank.conf (4011B)
1 [libeufin-bank] 2 3 # Internal currency of the libeufin-bank 4 CURRENCY = 5 6 # Supported payment target type, this can either be iban or x-taler-bank 7 WIRE_TYPE = 8 9 # The bank base URL 10 # BASE_URL = https://bank.example.com/ 11 12 # Bank BIC used in generated iban payto URI. Required if WIRE_TYPE = iban 13 # IBAN_PAYTO_BIC = 14 15 # Bank hostname used in generated x-taler-bank payto URI. Required if WIRE_TYPE = x-taler-bank 16 # Deprecated, BASE_URL hostname is used instead 17 # X_TALER_BANK_PAYTO_HOSTNAME = bank.$FOO.taler.net 18 19 # Bank display name, used in webui and TAN messages. Default is "Taler Bank" 20 # NAME = "Custom Bank" 21 22 # Wire transfer execution fees. Only applies to bank transactions and withdrawals. 23 # WIRE_TRANSFER_FEES = KUDOS:0 24 25 # Minimum wire transfer amount allowed. Only applies to bank transactions and withdrawals. 26 # MIN_WIRE_TRANSFER_AMOUNT = KUDOS:0 27 28 # Maximum wire transfer amount allowed. Only applies to bank transactions and withdrawals. 29 # MAX_WIRE_TRANSFER_AMOUNT = KUDOS:0 30 31 # Default debt limit for newly created accounts. Default is CURRENCY:0 32 # DEFAULT_DEBT_LIMIT = KUDOS:200 33 34 # Value of the registration bonus for new users. Default is CURRENCY:0 35 # REGISTRATION_BONUS = KUDOS:100 36 37 # Allow account registration by anyone. 38 # ALLOW_REGISTRATION = no 39 40 # Allow an account to delete itself 41 # ALLOW_ACCOUNT_DELETION = no 42 43 # Allow accounts to edit their name 44 # ALLOW_EDIT_NAME = no 45 46 # Allow accounts to edit their cashout account 47 # ALLOW_EDIT_CASHOUT_PAYTO_URI = no 48 49 # Enable regional currency conversion 50 # ALLOW_CONVERSION = no 51 52 # External currency used during cashin and cashout 53 # FIAT_CURRENCY = EUR 54 55 # Path to TAN challenge transmission script via sms. If not specified, this TAN channel will not be supported. 56 # TAN_SMS = libeufin-tan-sms.sh 57 58 # Path to TAN challenge transmission script via email. If not specified, this TAN channel will not be supported. 59 # TAN_EMAIL = libeufin-tan-email.sh 60 61 # Environment variables for the sms TAN script as a single-line JSON object 62 # TAN_SMS_ENV = { "AUTH_TOKEN": "secret-token" } 63 64 # Environment variables for the email TAN script as a single-line JSON object 65 # TAN_EMAIL_ENV = { "AUTH_TOKEN": "secret-token" } 66 67 # How "libeufin-bank serve" serves its API, this can either be tcp or unix 68 SERVE = tcp 69 70 # Port on which the HTTP server listens, e.g. 9967. Only used if SERVE is tcp. 71 PORT = 8080 72 73 # Which IP address should we bind to? The default ``::`` accepts clients over 74 # both IP versions; ``::1`` or ``127.0.0.1`` restrict the service to loopback. 75 # Note that ``0.0.0.0`` serves IPv4 clients only, so a client that resolves our 76 # name to an IPv6 address first does not reach us at all. Only used if SERVE 77 # is tcp. 78 BIND_TO = :: 79 80 # Which unix domain path should we bind to? Only used if SERVE is unix. 81 # UNIXPATH = libeufin-bank.sock 82 83 # Path to the separately installed WebUI files 84 SPA = $PREFIX/share/libeufin-bank-webui/ 85 86 # Exchange that is suggested to wallets when withdrawing. 87 # SUGGESTED_WITHDRAWAL_EXCHANGE = https://exchange.demo.taler.net/ 88 89 # Password hash algorithm, this can only be bcrypt 90 PWD_HASH_ALGORITHM = bcrypt 91 92 # Password hash algorithm configuration as a single-line JSON object 93 # When PWD_HASH_ALGORITHM = bcrypt you can configure cost 94 PWD_HASH_CONFIG = { "cost": 8 } 95 96 # Whether to check password quality 97 # Unstable flag, will become a non configurable default in a future version 98 PWD_CHECK = yes 99 100 # Whether to allow password auth everywhere 101 # Unstable flag, will become a non configurable default in a future version 102 PWD_AUTH_COMPAT = no 103 104 # Time after which pending operations are aborted during garbage collection 105 GC_ABORT_AFTER = 15m 106 107 # Time after which aborted operations and expired items are deleted during garbage collection 108 GC_CLEAN_AFTER = 14d 109 110 # Time after which all bank transactions, operations and deleted accounts are deleted during garbage collection 111 GC_DELETE_AFTER = 10year 112 113 [libeufin-bankdb-postgres] 114 # Where are the SQL files to setup our tables? 115 SQL_DIR = $DATADIR/sql/ 116 117 # DB connection string 118 CONFIG = postgres:///libeufin