-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.template
35 lines (34 loc) · 2.26 KB
/
.env.template
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
DB_USER=set-DB_USER-env-var
DB_PASS=set-DB_PASS-env-var
DB_HOSTIP=localhost
DB_HOSTPORT=5432
DB_NAME=croncat_indexer
# Minified JSON object of contracts to watch
# Note that inside of "contracts" there's a category that is an array of objects
# You customize how to handle these categories in checkRowsToUpdate.ts
SETTINGS='{"contracts":{"managers":[{"address":"juno1c9mwkyf59kw2htf5gkdd7knzqx3damqvy6c67qcrud5w8dvw693qcedrw7"},{"address":"juno1gge2zjcu48f94jmfk36m5pcd6jaulj535kkkv07kwzp5gvrmfctswprlnp"}]}}'
CHAIN_REGISTRY_URLS='{"juno-1":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/chain.json","uni-5":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/chain.json","stargaze-1":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stargaze/chain.json","elgafar-1":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/stargazetestnet/chain.json","osmosis-1":"https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/chain.json","osmo-test-4":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/osmosistestnet/chain.json"}'
# The delay between polling
TIMEOUT=3000
# The delay before we check for updates in the chain-registry
TIMEOUT_CHECK_CHAIN_REGISTRY=300000
# Not used much at this time
CACHE_LIMIT=500
CHAIN_ID=uni-5
# Just the "first part" of the chain ID
CHAIN_ID_PREFIX=uni
# We'll use chain-registry to get RPC info from the CHAIN_ID, so how many should we use at a time?
RPC_LIMIT=3
# For logging, we will print the whole object if verbosity is 1
# 0 turns off verbosity, only printing brief, readable message
VERBOSITY=0
# These are RPC endpoints you wish to ignore
# At the time of this writing, there's not much precedent for needing this (Minified JSON)
SKIP_RPC_ADDRESSES='[]'
# These are RPC endpoints you wish you add, like your custom RPCs or frens' RPCs (Minified JSON)
# These will be added in and shuffled, where the total RPCs queried is maxed out at RPC_LIMIT
# Use ADD_RPC_ADDRESSES_ALWAYS to extend beyond the RPC_LIMIT
ADD_RPC_ADDRESSES='[]'
# These RPC addresses will always be queried, and might exceed the RPC_LIMIT (Minified JSON)
# You may use this if you have a not-well-known custom RPC but don't want to only rely on it
ADD_RPC_ADDRESSES_ALWAYS='[]'