feat: Complete DEX frontend integration with Pezkuwi SDK

🎉 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 🌟
This commit is contained in:
2025-11-01 08:59:19 +03:00
parent 06fe4783f2
commit 0622e3278f
4 changed files with 949 additions and 65 deletions
+2 -13
View File
@@ -1,8 +1,5 @@
import { createRoot } from 'react-dom/client'
import App from './App.tsx'
import { WalletProvider } from './contexts/WalletContext'
import { WebSocketProvider } from './contexts/WebSocketContext'
import { PolkadotProvider } from './contexts/PolkadotContext'
import './index.css'
import './i18n/config'
@@ -13,13 +10,5 @@ declare global {
}
}
// Remove dark mode class addition
createRoot(document.getElementById("root")!).render(
<PolkadotProvider endpoint="ws://127.0.0.1:9944">
<WalletProvider>
<WebSocketProvider>
<App />
</WebSocketProvider>
</WalletProvider>
</PolkadotProvider>
);
// All providers are now in App.tsx for better organization
createRoot(document.getElementById("root")!).render(<App />);