Actions

Ethereum env

From Chainlink Community Wiki

Revision as of 18:28, 21 March 2022 by Devtrace (talk | contribs)
EthereumLogo.png
#================================================================#
#                     Ethereum OCR Node                          #
#================================================================#


#---------------------------#
#      Universal Vars       #
#---------------------------#
ROOT=/chainlink
LOG_LEVEL=warn
ALLOW_ORIGINS=*
MINIMUM_CONTRACT_PAYMENT_LINK_JUELS=1000000000000
DEFAULT_HTTP_ALLOW_UNRESTRICTED_NETWORK_ACCESS=true

#---------------------------#
#    Chain Specific Vars    #
#---------------------------#
ETH_CHAIN_ID=1
LINK_CONTRACT_ADDRESS=0x514910771af9ca656af840dff83e8264ecf986ca

#---------------------------#
#       RPC Endpoints       #
#---------------------------#
# Local RPC Endpoints
ETH_URL=ws://:8546
ETH_HTTP_URL=http://:8545

#---------------------------#
#       Database Vars       #
#---------------------------#
DATABASE_URL=postgresql://ethereumuser:<password>@postgreshostname_or_ip:5432/ethereum_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
DEFAULT_HTTP_TIMEOUT=6s

#---------------------------#
#    Gas Payment Tuning     #
#---------------------------#
GAS_ESTIMATOR_MODE=BlockHistory
BLOCK_HISTORY_ESTIMATORBLOCK_HISTORY_ESTIMATOR_PERCENTILE=71
BLOCK_HISTORY_ESTIMATOR_BLOCK_HISTORY_SIZE=8
ETH_GAS_BUMP_THRESHOLD=2
ETH_GAS_BUMP_WEI=20000000000
ETH_GAS_BUMP_PERCENT=50
ETH_BALANCE_MONITOR_BLOCK_DELAY=3
ENABLE_BULLETPROOF_TX_MANAGER=true
MIN_OUTGOING_CONFIRMATIONS=2
MIN_INCOMING_CONFIRMATIONS=2

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

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