Files
smom-dbis-138/frontend-dapp
2026-03-02 12:14:09 -08:00
..

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

Environment Variables

Create a .env file:

VITE_WALLETCONNECT_PROJECT_ID=your_project_id
VITE_BRIDGE_CONTRACT_ADDRESS=0x...
VITE_RESERVE_CONTRACT_ADDRESS=0x...