Add optional Chain 2138 frontend support

This commit is contained in:
defiQUG
2026-03-28 15:38:51 -07:00
parent 6deb072fa7
commit 1771db2190
31 changed files with 408 additions and 187 deletions

View File

@@ -12,6 +12,15 @@ VITE_RPC_URL_138=https://rpc-http-pub.d-bis.org
# VITE_ENABLE_CHAIN2138=true
# VITE_RPC_URL_2138=https://rpc.public-2138.defi-oracle.io
# VITE_EXPLORER_URL_2138=https://public-2138.defi-oracle.io
# Trustless bridge: L2 lockbox side — default 138; use 2138 for testnet (requires ENABLE_CHAIN2138)
# VITE_TRUSTLESS_L2_CHAIN_ID=138
# VITE_LOCKBOX_2138=0x...
# VITE_WETH_CHAIN2138=0x...
# VITE_CUSDT_CHAIN2138=0x...
# VITE_CUSDC_CHAIN2138=0x...
# VITE_TRANSACTION_MIRROR_CHAIN2138=0x...
# Optional: set the preferred wallet/switch target to 2138 when the flag above is enabled
# VITE_DEFAULT_FRONTEND_CHAIN_ID=2138
# Optional Environment Variables
VITE_ETHERSCAN_API_KEY=YourApiKeyToken