Actions

Fantom env

From Chainlink Community Wiki

FantomLogo.png

These are example env Variables for your Fantom Chainlink Node.

#================================================================#
#                      Fantom OCR Node                           #
#================================================================#

#---------------------------#
#      Universal Vars       #
#---------------------------#
ROOT=/chainlink
LOG_LEVEL=warn
ALLOW_ORIGINS=*
MINIMUM_CONTRACT_PAYMENT_LINK_JUELS=100000000000
MIN_OUTGOING_CONFIRMATIONS=2
MIN_INCOMING_CONFIRMATIONS=2

#---------------------------#
#    Chain Specific Vars    #
#---------------------------#
ETH_CHAIN_ID=250
LINK_CONTRACT_ADDRESS=0x6F43FF82CCA38001B6699a8AC47A2d0E66939407

#---------------------------#
#       RPC Endpoints       #
#---------------------------#
# Local RPC Endpoints
ETH_URL=ws://:1586
# Public WS Endpoint
#ETH_URL=wss://wsapi.fantom.network/

#---------------------------#
#       Database Vars       #
#---------------------------#
DATABASE_URL=postgresql://fantomuser:<password>@postgreshostname_or_ip:5432/fantom_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

#---------------------------#
#    Gas Payment Tuning     #
#---------------------------#
#ETH_GAS_LIMIT_DEFAULT=500000
#ETH_GAS_PRICE_DEFAULT=225000000000
#ETH_MAX_GAS_PRICE_WEI=225000000000
MIN_INCOMING_CONFIRMATIONS=1
MIN_OUTGOING_CONFIRMATIONS=2

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

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