# Chain ID 2138 — Defi Oracle Meta Testnet
# Copy to .env.chain2138 (or merge into smom-dbis-138/.env) and fill in values.
# Runbook: proxmox parent repo docs/testnet/DEFI_ORACLE_META_TESTNET_2138_RUNBOOK.md
# Chainlist metadata: pr-workspace/chains/_data/chains/eip155-2138.json

# Network (public RPC example from chainlist; replace with your LAN or staging URL)
RPC_URL=https://rpc.public-2138.defi-oracle.io
CHAIN_ID=2138

# Deployer / admin (testnet keys only — never reuse mainnet secrets)
PRIVATE_KEY=<testnet-deployer-private-key>
MIRROR_ADMIN=<optional-testnet-admin-address>

# CCIP / LINK — populate only when Chainlink supports chain 2138 (selectors from docs)
CCIP_ROUTER=<2138-ccip-router-or-leave-empty>
LINK_TOKEN=<2138-link-token-or-leave-empty>

# Tokens — set after deployment (addresses will differ from mainnet 138)
WETH9_ADDRESS=<deployed-or-predeployed-weth9-on-2138>
WETH10_ADDRESS=<deployed-weth10-on-2138>

# Bridges on 2138 — set after deployment
CCIPWETH9_BRIDGE_CHAIN2138=<address-or-leave-empty>
CCIPWETH10_BRIDGE_CHAIN2138=<address-or-leave-empty>

# CCIP chain selectors (example mainnet selector kept for cross-chain scripts)
ETHEREUM_MAINNET_SELECTOR=5009297550715157269
CHAIN2138_SELECTOR=<YOUR_CHAIN2138_CCIP_SELECTOR>

# Explorer / verification API for 2138
CHAIN2138_ETHERSCAN_API_URL=https://public-2138.defi-oracle.io
CHAIN2138_ETHERSCAN_API_KEY=<explorer-api-key-if-required>

# Fee token on 2138 (often native or LINK once deployed)
FEE_TOKEN=<native-or-link-address>

# Vite DApp (smom-dbis-138/frontend-dapp/.env*) — not read by Terraform; copy as needed
# VITE_ENABLE_CHAIN2138=true
# VITE_TRUSTLESS_L2_CHAIN_ID=2138
# VITE_LOCKBOX_2138=<lockbox-after-deploy>
# VITE_WETH_CHAIN2138=... VITE_CUSDT_CHAIN2138=... VITE_CUSDC_CHAIN2138=...

# thirdweb (optional)
THIRDWEB_PROJECT_NAME="DBIS ChainID 2138 Testnet"
THIRDWEB_CLIENT_ID=<your-thirdweb-client-id>
THIRDWEB_SECRET_KEY=<your-thirdweb-secret-key>
