-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
52 lines (49 loc) · 1.81 KB
/
.env.example
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
DB_NAME=squid
DB_USER=postgres
DB_PASS=my_secret_password
DB_PORT=23798
PROCESSOR_PROMETHEUS_PORT=3001
GQL_PORT=4350
SQD_DEBUG=sqd:processor:mapping # Log level: SQD_DEBUG, SQD_INFO, SQD_ERROR...
JWT_SECRET=XXXXX
INFURA_IPFS_PROJECT_ID=XXXXX
INFURA_IPFS_KEY=XXXXX
NODE_RPC_WS_TESTNET=wss://rpc-testnet.reefscan.info/ws
NODE_RPC_WS_MAINNET=wss://rpc.reefscan.info/ws
ARCHIVE_LOOKUP_NAME_TESTNET=reef-testnet
ARCHIVE_LOOKUP_NAME_MAINNET=reef
REEFSWAP_ROUTER_ADDRESS_TESTNET="0x614b7B6382524C32dDF4ff1f4187Bc0BAAC1ed11"
REEFSWAP_ROUTER_ADDRESS_MAINNET="0x10ED43C718714eb63d5aA57B78B54704E256024E"
# APIKEY_REEF_EXPLORER_TESTNET=XXXXXXX
# APIKEY_REEF_EXPLORER=XXXXXXX
FIREBASE_EMITTER_ENABLED=false
FIREBASE_PROJECT_ID=reef-block-index
FIREBASE_PK=XXXXXXXX # base64 encoded
FIREBASE_CLIENT_EMAIL=XXXXXXX
FIREBASE_DB_URL=https:/XXXXXXX.firebaseio.com/
EMITTER_IO_ENABLED=false
EMITTER_IO_URL=http://events.reefscan.info:8080
EMITTER_IO_KEY=XXXXXXX
START_BLOCK=0
HEAD_REACHED=false # If false, it will update all accounts and token holders when head block is reached
PIN_TO_IPFS=false
USE_ONLY_RPC=false # If true, archive is not used and only NODE_RPC_WS will be used
UPDATE_FROM_HEAD_BATCH_SIZE=100 # Batch size for accounts and token holders processing on head reached
PROCESSOR_BATCH_SIZE=1000 # Batch size for processing blocks
UPDATE_FINALIZED_MAX_SIZE=1000 # Max size for finalized blocks to be updated in `newFinalizedBlock` resolver
WAIT_TIME=0 # Time to wait between batches in ms
SUPPORT_HOT_BLOCKS=true
## MAINNET
NETWORK=mainnet
SQUID_NAME=reef-explorer
## TESTNET
# NETWORK=testnet
# SQUID_NAME=reef-explorer-testnet
# TODO: remove pusher
PUSHER_ENABLED=false
PUSHER_APP_ID=1629403
PUSHER_KEY=fc5ad78eb31981de6c67
PUSHER_SECRET=XXXXXXX
PUSHER_CLUSTER=eu # default eu
PUSHER_CHANNEL=reef-chain
PUSHER_EVENT=block-finalised # block-finalised-testnet