Actions

Ethereum env: Difference between revisions

From Chainlink Community Wiki

No edit summary
No edit summary
 
Line 23: Line 23:
ETH_CHAIN_ID=1
ETH_CHAIN_ID=1
LINK_CONTRACT_ADDRESS=0x514910771af9ca656af840dff83e8264ecf986ca
LINK_CONTRACT_ADDRESS=0x514910771af9ca656af840dff83e8264ecf986ca
ETH_HEAD_TRACKER_HISTORY_DEPTH=1500
ETH_FINALITY_DEPTH=1000


#---------------------------#
#---------------------------#

Latest revision as of 14:18, 23 August 2022

EthereumLogo.png

These are example env Variables for your Ethereum Chainlink Node.

#================================================================#
#                     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
ETH_HEAD_TRACKER_HISTORY_DEPTH=1500
ETH_FINALITY_DEPTH=1000

#---------------------------#
#       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=