forked from Frankencoin-ZCHF/frankencoin-api
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
37 lines (32 loc) · 1.48 KB
/
.env.example
File metadata and controls
37 lines (32 loc) · 1.48 KB
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
PORT=3000
CONFIG_APP_URL=https://app.deuro.com
CONFIG_INDEXER_URL=https://ponder.deuro.com
CONFIG_INDEXER_FALLBACK_URL=https://dev.ponder.deuro.com
CONFIG_CHAIN=mainnet
RPC_URL_MAINNET=https://eth-mainnet.g.alchemy.com/v2/[API-KEY]
RPC_URL_POLYGON=https://polygon-mainnet.g.alchemy.com/v2/[API-KEY]
# CoinGecko Configuration.
#
# COINGECKO_BASE_URL: required. The origin the api calls. Recommended is
# the in-cluster pricing-proxy (https://github.com/DFXswiss/pricing-proxy),
# which holds the upstream Pro key and serves a 60 s shared cache. Anything
# CoinGecko-compatible works (pro-api.coingecko.com, api.coingecko.com, …).
COINGECKO_BASE_URL=http://pricing-proxy:8080/coingecko
#
# COINGECKO_API_KEY: optional. If set, attached as `x-cg-pro-api-key` to
# every request. Leave unset when talking to the pricing-proxy (proxy injects
# its own key) or to the public host anonymously.
# COINGECKO_API_KEY=
TELEGRAM_BOT_TOKEN=[API-KEY]
TELEGRAM_GROUPS_JSON=telegram.groups.json
TELEGRAM_IMAGES_DIR=./assets/socialmedia/telegram
# Twitter/X. The OAuth bootstrap (3-legged user-context flow against @dEURO_com)
# writes the access token + secret to TWITTER_TOKEN_JSON. If the file is missing
# or contains an empty object, TwitterService stays disabled — no notifications,
# no errors.
TWITTER_CLIENT_ID=[CLIENT-ID]
TWITTER_CLIENT_SECRET=[CLIENT-SECRET]
TWITTER_CLIENT_APP_KEY=[APP-KEY]
TWITTER_CLIENT_APP_SECRET=[APP-SECRET]
TWITTER_TOKEN_JSON=twitter.token.json
TWITTER_IMAGES_DIR=./assets/socialmedia/twitter