# ChainID 138 Environment Configuration
# Copy this file to .env.chain138 and fill in your values

# Network
RPC_URL=https://rpc-core.d-bis.org
CHAIN_ID=138

# Deployer / Admin (can be same or different from mainnet)
PRIVATE_KEY=<chain138-bridge-admin-private-key>
MIRROR_ADMIN=0xa55A4B57A91561e9df5a883D4883Bd4b1a7C4882

# CCIP Router & LINK Token (Chain 138) — see docs/11-references/CONTRACT_ADDRESSES_REFERENCE.md
CCIP_ROUTER=0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e
LINK_TOKEN=0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03

# Tokens (deterministic same addresses as mainnet)
WETH9_ADDRESS=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
WETH10_ADDRESS=0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f

# Bridges on Chain 138
CCIPWETH9_BRIDGE_CHAIN138=0x971cD9D156f193df8051E48043C476e53ECd4693
CCIPWETH10_BRIDGE_CHAIN138=0xe0E93247376aa097dB308B92e6Ba36bA015535D0

# CCIP Chain Selectors
ETHEREUM_MAINNET_SELECTOR=5009297550715157269
CHAIN138_SELECTOR=<YOUR_CHAIN138_CCIP_SELECTOR>

# Explorer for Chain 138
CHAIN138_ETHERSCAN_API_URL=<your-chain138-explorer-base-url>
CHAIN138_ETHERSCAN_API_KEY=<your-chain138-explorer-api-key>

# Fee Configuration (Chain 138 LINK)
FEE_TOKEN=0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03
# Use address(0) for native fees, or LINK_TOKEN for LINK fees

# thirdweb Bridge API Configuration
# Get your secret key from: https://thirdweb.com → Dashboard → Settings → API Keys
# Required for thirdweb Bridge API authentication
THIRDWEB_PROJECT_NAME="DBIS ChainID 138"
THIRDWEB_CLIENT_ID=<your-thirdweb-client-id>
THIRDWEB_SECRET_KEY=<your-thirdweb-bridge-secret-key>
