React + TypeScript frontend for the Static cross-chain swap app. Users sell stablecoins and receive payment over the Lightning Network, using a hash-locked invoice to bind the on-chain transfer to the off-chain payment.
| Chain | Token | Address |
|---|---|---|
| Polygon | XSGD | 0xdc3326e71d45186f113a2f448984ca0e8d201995 |
| Solana | USDC | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v |
| Tron | USDT | TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t |
Bootstrapped with Create React App and styled with Tailwind CSS.
bun install
npm start # dev server on http://localhost:3000
npm run build
npm testCreate a .env with REACT_APP_WALLET_CONNECT_PROJECT_ID (from https://cloud.walletconnect.com). The GraphQL endpoint is hard-coded in src/App.tsx.