Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m29s
CI/CD Pipeline / Security Scanning (push) Successful in 2m40s
CI/CD Pipeline / Lint and Format (push) Failing after 46s
CI/CD Pipeline / Terraform Validation (push) Failing after 26s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 26s
Validation / validate-genesis (push) Successful in 27s
Validation / validate-terraform (push) Failing after 28s
Validation / validate-kubernetes (push) Failing after 12s
Validation / validate-smart-contracts (push) Failing after 13s
Validation / validate-security (push) Failing after 1m17s
Validation / validate-documentation (push) Failing after 18s
Repair double-spaced source files, align middleware/exchange types with production JSON, and fix vite build on Windows/Linux. Co-authored-by: Cursor <cursoragent@cursor.com>
Bridge DApp
Frontend DApp for the trustless bridge system.
Setup
pnpm install
Development
pnpm run dev
The app will be available at http://localhost:3002
Features
- Multi-wallet support (MetaMask, WalletConnect, Coinbase Wallet)
- Bridge transfers from ChainID 138 to Ethereum
- DEX swap interface
- Reserve status and peg monitoring
- Transaction history
- Optional Chain 2138 frontend wallet/network support behind env flags
Environment Variables
Copy .env.example to .env.local and set the values you need:
VITE_WALLETCONNECT_PROJECT_ID=your_project_id
VITE_THIRDWEB_CLIENT_ID=your_client_id
VITE_RPC_URL_138=https://rpc-http-pub.d-bis.org
# Optional Chain 2138 frontend support
# 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
# VITE_DEFAULT_FRONTEND_CHAIN_ID=2138
Notes:
- The shared network source of truth lives in
src/config/networks.ts. VITE_ENABLE_CHAIN2138only enables optional frontend wallet/network flows.- Trustless bridge and Chain 138-specific operational flows remain pinned to Chain 138 unless explicitly expanded.