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;">#================================================================# | ||
# | # Polygon OCR Node # | ||
#================================================================# | #================================================================# | ||
Line 19: | Line 19: | ||
# Chain Specific Vars # | # Chain Specific Vars # | ||
#---------------------------# | #---------------------------# | ||
ETH_CHAIN_ID= | ETH_CHAIN_ID=137 | ||
LINK_CONTRACT_ADDRESS= | 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:/ | # ETH_URL=wss://ws-mainnet.matic.network | ||
#---------------------------# | #---------------------------# | ||
# Database Values # | # Database Values # | ||
#---------------------------# | #---------------------------# | ||
DATABASE_URL=postgresql://arbitrumuser:<password>@postgreshostname_or_ip:5432/ | DATABASE_URL=postgresql://arbitrumuser:<password>@postgreshostname_or_ip:5432/polygon_ocr | ||
#---------------------------# | #---------------------------# | ||
Line 51: | Line 49: | ||
#---------------------------# | #---------------------------# | ||
GAS_ESTIMATOR_MODE=BlockHistory | GAS_ESTIMATOR_MODE=BlockHistory | ||
#---------------------------# | #---------------------------# |
Latest revision as of 22:24, 19 December 2022
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=