Actions

Polygon env: Difference between revisions

From Chainlink Community Wiki

(Created page with "thumb|left == These are example env Variables for your Polygon Chainlink Node. == <pre style="white-space:pre-wrap; width:100%; border:1px solid lightgrey; background:black; color:white;">#================================================================# # Arbitrum OCR Node # #================================================================# #---------------------------# # Universal Vars...")
 
No edit summary
 
Line 4: Line 4:


<pre style="white-space:pre-wrap; width:100%; border:1px solid lightgrey; background:black; color:white;">#================================================================#
<pre style="white-space:pre-wrap; width:100%; border:1px solid lightgrey; background:black; color:white;">#================================================================#
#                    Arbitrum OCR Node                         #
#                    Polygon OCR Node                           #
#================================================================#
#================================================================#


Line 19: Line 19:
#    Chain Specific Vars    #
#    Chain Specific Vars    #
#---------------------------#
#---------------------------#
ETH_CHAIN_ID=42161
ETH_CHAIN_ID=137
LINK_CONTRACT_ADDRESS=0xf97f4df75117a78c1A5a0DBb814Af92458539FB4
LINK_CONTRACT_ADDRESS=0xb0897686c545045aFc77CF20eC7A532E3120E0F1


#---------------------------#
#---------------------------#
Line 26: Line 26:
#---------------------------#
#---------------------------#
# Local RPC Endpoints
# Local RPC Endpoints
ETH_URL=ws://
ETH_URL=ws://:8546
ETH_HTTP_URL=http://
ETH_HTTP_URL=http://:8545
# Public RPC Endpoints
# Public RPC Endpoints
# ETH_URL=wss://arb1.arbitrum.io/ws
# ETH_URL=wss://ws-mainnet.matic.network
# ETH_SECONDARY_URLS=https://arb1.arbitrum.io/rpc
 


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


#---------------------------#
#---------------------------#
Line 51: Line 49:
#---------------------------#
#---------------------------#
GAS_ESTIMATOR_MODE=BlockHistory
GAS_ESTIMATOR_MODE=BlockHistory
GAS_UPDATER_TRANSACTION_PERCENTILE=84
ETH_GAS_BUMP_THRESHOLD=2
BLOCK_HISTORY_ESTIMATOR_BLOCK_HISTORY_SIZE=8
#ETH_GAS_BUMP_WEI=10000000000
ETH_BALANCE_MONITOR_BLOCK_DELAY=3
ENABLE_BULLETPROOF_TX_MANAGER=true


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

Latest revision as of 22:24, 19 December 2022

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=