Actions

Gnosis env

From Chainlink Community Wiki

Revision as of 16:03, 11 April 2022 by Devtrace (talk | contribs)
GnosisXDaiLogo.png

These are example env Variables for your xDai/Gnosis Chainlink Node.

#================================================================#
#                    xDai/Gnosis OCR Node                        #
#================================================================#

#---------------------------#
#      Universal Vars       #
#---------------------------#
ROOT=/chainlink
LOG_LEVEL=warn
ALLOW_ORIGINS=*
MINIMUM_CONTRACT_PAYMENT_LINK_JUELS=10000000000
MIN_OUTGOING_CONFIRMATIONS=2
MIN_INCOMING_CONFIRMATIONS=2

#---------------------------#
#    Chain Specific Vars    #
#---------------------------#
ETH_CHAIN_ID=100
LINK_CONTRACT_ADDRESS=0xE2e73A1c69ecF83F464EFCE6A5be353a37cA09b2

#---------------------------#
#       RPC Endpoints       #
#---------------------------#
# Local RPC Endpoints
ETH_URL=ws://:8546

#---------------------------#
#       Database Vars       #
#---------------------------#
DATABASE_URL=postgresql://xdaiuser:<password>@postgreshostname_or_ip:5432/xdai_ocr
DATABASE_TIMEOUT=0

#---------------------------#
#       Enable HTTPS        #
#---------------------------#
# CHAINLINK_TLS_PORT=0
# SECURE_COOKIES=false
TLS_CERT_PATH=/chainlink/tls/server.crt
TLS_KEY_PATH=/chainlink/tls/server.key

#---------------------------#
#    Gas Payment Tuning     #
#---------------------------#
GAS_ESTIMATOR_MODE=FixedPrice
ETH_GAS_BUMP_THRESHOLD=4
ETH_GAS_BUMP_WEI=20000000000
ETH_BALANCE_MONITOR_BLOCK_DELAY=8
ETH_GAS_BUMP_PERCENT=20

#---------------------------#
#          OCR Vars         #
#---------------------------#
FEATURE_OFFCHAIN_REPORTING=true
OCR_TRACE_LOGGING=false
P2P_LISTEN_PORT=
P2P_ANNOUNCE_IP=
P2P_ANNOUNCE_PORT=
OCR_KEY_BUNDLE_ID=
P2P_PEER_ID=
OCR_TRANSMITTER_ADDRESS=
P2P_BOOTSTRAP_PEERS=

#---------------------------#
#    Explorer Credentials   #
#---------------------------#
EXPLORER_ACCESS_KEY=
EXPLORER_SECRET=
EXPLORER_URL=