Files
proxmox/config/xdc-zero/xdc-relayer.dotenv.example

44 lines
2.0 KiB
Plaintext
Raw Normal View History

# Copy to your XDC-Relayer clone as `.env`.
# For systemd `/etc/default/xdc-zero-relayer-138-pair`, prefer
# `config/xdc-zero/xdc-zero-relayer-138-pair.example.defaults`.
# Built relayer: https://github.com/XinFinOrg/XDC-Relayer — `npm install && npm run build && npm run start`
# Pre-reqs: Redis (see upstream README). Vars mirror `.example.env` in that repo.
RELAYER_PORT=5215
NODE_ENV=production
# --- XDC Network (PARENTNET_URL) — required context for XDC Zero parent side ---
# Chain ID: 50 decimal (0x32) mainnet
# Native gas token: XDC (not ETH). Fund the parent key for CSC / checkpoint txs.
# Default RPC: https://erpc.xinfin.network (prefer; rpc.xinfin.network may 5xx)
# RPC directory: https://chainid.network/chain/50/ (alternates e.g. https://erpc.xinfin.network,
# https://rpc1.xinfin.network — pick one stable URL per deployment)
# Explorers: https://xdcscan.com | https://xdcscan.io
# Network info: https://xinfin.org
# Testnet (lab): Apothem chain id 51 — https://rpc.apothem.network (do not use as production parent)
# Ethereum/BSC RPC vars elsewhere in this repo do NOT apply to PARENTNET_URL.
# Second pair only: Chain 138 "subnet" side + XDC Network mainnet parent.
# This file is for a relayer process, so Chain 138 should use the public HTTPS
# RPC path by default. Core `192.168.11.211:8545` is reserved for operator-only
# deploy/proof tasks and should not be the default for external or long-running
# services.
SUBNET_URL=https://rpc-http-pub.d-bis.org
PARENTNET_URL=https://erpc.xinfin.network
# CSC on parent storing subnet/138 roots (deploy per runbook — not SimpleCsc in production)
CHECKPOINT_CONTRACT=0x0000000000000000000000000000000000000000
PARENTNET_WALLET_PK=
# Optional XDC Zero schedule (uncomment when Endpoints are deployed)
# PARENTNET_ZERO_CONTRACT=
# SUBNET_ZERO_CONTRACT=
# PARENTNET_ZERO_WALLET_PK=
# Reverse checkpoint: parent roots on Chain 138
# REVERSE_CHECKPOINT_CONTRACT=
# SUBNET_WALLET_PK=
# SUBNET_ZERO_WALLET_PK=
MAX_FETCH_BLOCK_SIZE=120