mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 10:17:54 +00:00
0622e3278f
🎉 Full DEX UI with token swap functionality ✅ Wallet connection with Polkadot.js extension 🔄 Real-time balance updates and transaction status ## Features / Taybetmendî: - ✅ Token swap interface (wHEZ ↔ PEZ) / Rûkarê swap tokenan - ✅ Wallet integration / Pêvekirina wallet - ✅ Balance display / Nîşandana balance - ✅ Transaction processing / Pêvajoya transaction - ✅ Real-time updates / Nûvekirinên real-time ## Components: - App.tsx - Main swap interface - wallet.ts - Polkadot.js integration - Responsive UI with loading states Connected to Pezkuwi SDK testnet / Girêdayî testnet Pezkuwi SDK Bi kêfxweş ji bo Kurdistan 🌟
15 lines
346 B
TypeScript
15 lines
346 B
TypeScript
import { createRoot } from 'react-dom/client'
|
|
import App from './App.tsx'
|
|
import './index.css'
|
|
import './i18n/config'
|
|
|
|
// Add window.ethereum type declaration
|
|
declare global {
|
|
interface Window {
|
|
ethereum?: any;
|
|
}
|
|
}
|
|
|
|
// All providers are now in App.tsx for better organization
|
|
createRoot(document.getElementById("root")!).render(<App />);
|