Files
proxmox/config/xdc-zero/xdc-zero-chain138-pair.example.env
defiQUG dbd517b279 Sync workspace: config, docs, scripts, CI, operator rules, and submodule pointers.
- Update dbis_core, cross-chain-pmm-lps, explorer-monorepo, metamask-integration, pr-workspace/chains
- Omit embedded publish git dirs and empty placeholders from index

Made-with: Cursor
2026-04-12 06:12:20 -07:00

70 lines
3.2 KiB
Bash

# XDC Zero — second relayer pair: XDC parent ↔ Chain 138
# Copy to e.g. .env.xdc-zero-138 (gitignored) or secrets store. Do not commit real keys.
#
# Stock XinFin relayer uses PARENTNET_URL + SUBNET_URL for TWO chains only.
# For 138 pairing, treat Chain 138 as the "subnet" side in env names ONLY if you
# run a dedicated second relayer instance (leave your original subnet↔parent instance untouched).
# --- XDC Network "parent" side (pick ONE profile) ---
# Mainnet: chain id 50 (0x32). Gas: XDC. Not Ethereum — use XDC JSON-RPC only.
# Primary RPC (default): https://erpc.xinfin.network (rpc.xinfin.network often 5xx; preflight tries fallbacks)
# More endpoints / status: https://chainid.network/chain/50/
# Explorers: https://xdcscan.com https://xdcscan.io
# Project: https://xinfin.org
XDC_PARENTNET_URL=https://erpc.xinfin.network
# Testnet (Apothem, chain id 51):
# XDC_PARENTNET_URL=https://rpc.apothem.network
# Devnet shortcut (XDC-Zero cicd accepts aliases):
# XDC_PARENTNET_URL=devnet
# XDC_PARENTNET_URL=testnet
# --- Chain 138 (Besu) — operator/deploy + service endpoints ---
# Operator-only / deploy / proof-sensitive path:
# - Core RPC remains the authoritative internal source for deploys, proofs,
# nonces, receipts, and other operator tasks.
# - External services and long-running relayers should use the public HTTPS
# Chain 138 RPC instead of Core.
# Prefer same vars as rest of repo (load-project-env strips CR/LF on these):
RPC_URL_138=http://192.168.11.211:8545
# Service / relayer path:
CHAIN138_PUBLIC_RPC_URL=https://rpc-http-pub.d-bis.org
# Relayer naming (XinFin docker / common.env): this process pairs TWO URLs only.
# Set both to the same values as XDC_PARENTNET_URL and the service-facing Chain
# 138 RPC respectively. In practice that means:
# - operator-only tasks: RPC_URL_138=http://192.168.11.211:8545
# - relayer/service path: SUBNET_URL=https://rpc-http-pub.d-bis.org
PARENTNET_URL=
SUBNET_URL=https://rpc-http-pub.d-bis.org
# --- Keys (relayer / deploy wallets) — separate from subnet↔parent relayer ---
PARENTNET_PK=
SUBNET_PK=
# Aliases some scripts use:
# PARENTNET_WALLET_PK=
# XDC_ZERO_138_PAIR_PARENT_PK=
# XDC_ZERO_138_PAIR_PEER_PK=
# --- New CSC addresses for THIS pair only (deploy per runbook) ---
# On parent: stores Chain 138 block roots (for verifying messages from 138).
CHECKPOINT_CONTRACT_138_ON_PARENT=
# On Chain 138: stores parent block roots (for verifying messages from parent).
REVERSE_CHECKPOINT_CONTRACT_PARENT_ON_138=
# XinFin stock env names (subset of cicd/.env.example) — map to the above when running stock scripts:
# CHECKPOINT_CONTRACT -> CHECKPOINT_CONTRACT_138_ON_PARENT (138 roots on parent)
# REVERSE_CHECKPOINT_CONTRACT -> REVERSE_CHECKPOINT_CONTRACT_PARENT_ON_138 (parent roots on 138)
# --- Deployed XDC Zero Endpoint addresses (after Hardhat deploy) ---
PARENTNET_ZERO_CONTRACT=
SUBNET_ZERO_CONTRACT=
# Clearer aliases for operators:
XDC_ZERO_ENDPOINT_ON_PARENT=
XDC_ZERO_ENDPOINT_ON_138=
# --- Optional: extra public mainnets for operator verification (preflight only) ---
# Already supported in load-project-env.sh — not used by XDC-Relayer unless you add another stack.
# ETHEREUM_MAINNET_RPC=https://eth.llamarpc.com
# BSC_RPC_URL=
# POLYGON_MAINNET_RPC=