# 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: XDC Network JSON-RPC only (chain id 50). Official: XDC_PARENTNET_URL=https://rpc.xinfin.network # Testnet (Apothem): # 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) — deploy + proof source --- # Prefer same vars as rest of repo (load-project-env strips CR/LF on these): RPC_URL_138=http://192.168.11.211:8545 # Public mirror (read-only checks OK; deploy from LAN when possible): # RPC_URL_138=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 RPC_URL_138 respectively: PARENTNET_URL= SUBNET_URL= # --- 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=