mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-13 21:31:01 +00:00
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:
+2
-13
@@ -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 />);
|
||||
|
||||
Reference in New Issue
Block a user