Actions

Polygon env

From Chainlink Community Wiki

PolygonLogo.png

These are example env Variables for your Polygon Chainlink Node.

#================================================================#
#                     Polygon OCR Node                           #
#================================================================#

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

#---------------------------#
#    Chain Specific Vars    #
#---------------------------#
ETH_CHAIN_ID=137
LINK_CONTRACT_ADDRESS=0xb0897686c545045aFc77CF20eC7A532E3120E0F1

#---------------------------#
#       RPC Endpoints       #
#---------------------------#
# Local RPC Endpoints
ETH_URL=ws://:8546
ETH_HTTP_URL=http://:8545
# Public RPC Endpoints
# ETH_URL=wss://ws-mainnet.matic.network

#---------------------------#
#      Database Values      #
#---------------------------#
DATABASE_URL=postgresql://arbitrumuser:<password>@postgreshostname_or_ip:5432/polygon_ocr

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

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

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