Commit Graph

6 Commits

Author SHA1 Message Date
pezkuwichain d860d8beb3 feat: Pergala USDT multisig a tevahî li ser chain
Taybetmendiyên Nû:
• pallet-multisig bi kar anîna - 3/5 threshold
• wUSDT asset (ID: 2) - 1:1 backing bi USDT
• Multisig members: Serok, SerokiMeclise, Xezinedar, Noter, Berdevk
• Otomatîk query ji pallet-tiki (unique roles)

Lib/Utilities:
 src/lib/multisig.ts - Multisig utilities (members, tx, queries)
 src/lib/usdt.ts - wUSDT bridge helpers (mint, burn, reserves)
 src/lib/wallet.ts - WUSDT asset ID zêde kir

Components:
 MultisigMembers.tsx - Multisig members display
 USDTBridge.tsx - Deposit/withdrawal UI
 ReservesDashboard.tsx - Reserve monitoring dashboard

Pages & Routes:
 ReservesDashboardPage.tsx - /reserves route
 App.tsx - Route integration

Taybetmendî:
• Full on-chain multisig (no Ethereum dependency)
• Automatic tiki holder lookup
• Reserve health monitoring
• Tiered withdrawal limits (instant, standard, large)
• Event subscriptions (mint/burn tracking)
• 1:1 USDT backing verification

Documentation:
 USDT_MULTISIG_SETUP.md - Complete setup guide

🤖 Bi [Claude Code](https://claude.com/claude-code) re hate çêkirin

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 00:40:12 +03:00
pezkuwichain 8af6127e7e feat: Add comprehensive liquidity pool management system
- Add AddLiquidityModal with automatic HEZ to wHEZ wrapping and 10% slippage tolerance
- Add RemoveLiquidityModal with automatic wHEZ to HEZ unwrapping
- Add PoolDashboard component with metrics, APR calculation, and impermanent loss calculator
- Add /pool route and integrate Pool button in WalletDashboard
- Display real-time pool reserves, TVL, and user positions
- Support batched transactions for optimal UX

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-02 23:32:40 +03:00
pezkuwichain 0622e3278f 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 🌟
2025-11-01 08:59:19 +03:00
pezkuwichain 9cc05b3d72 fix: Correct profile settings route from /profile-settings to /profile/settings
Issue: Edit Profile button returned 404 error

Root Cause:
- App.tsx route: /profile-settings (with dash)
- Dashboard navigate: /profile/settings (with slash)
- Route mismatch caused 404

Changes:
- Updated App.tsx route: /profile-settings → /profile/settings
- Updated AppLayout.tsx Settings button navigation

All profile settings links now use consistent /profile/settings route

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 04:04:50 +03:00
pezkuwichain 2d1a2cf3ba feat: Add wallet dashboard with balance and transfer functionality
New Components:
- AccountBalance: Real-time balance display with free/reserved breakdown
- TransferModal: Token transfer interface with transaction signing
- WalletDashboard: Complete wallet management page

Features:
- Live balance fetching from blockchain
- Balance subscription for real-time updates
- Transfer modal with recipient and amount input
- Transaction signing via Polkadot.js extension
- Transaction status tracking (signing, pending, success, error)
- Account switching support
- Responsive dashboard layout
- Quick action buttons (Send, Receive, History)

Technical:
- Integration with PolkadotContext
- web3FromAddress for transaction signing
- signAndSend for blockchain transactions
- Balance conversion (plancks to tokens)
- Error handling and user feedback
- Toast notifications for transaction status

Navigation:
- Added /wallet route with ProtectedRoute
- Added Wallet link to navigation menu
2025-10-28 00:28:20 +03:00
pezkuwichain 9aab34c101 Initial commit - PezkuwiChain Web Governance App 2025-10-22 18:21:46 -07:00