pezkuwichain
50331af32d
feat: add CoinGecko price logic with DOT-based fallback
...
- HEZ price: CoinGecko direct > DOT/3 > DEX pool
- PEZ price: CoinGecko direct > DOT/10 > DEX pool
- Added AuthorizeCall signed extension for blockchain connection
- Updated @pezkuwi packages to 16.5.22 and 14.0.13
2026-01-31 18:56:28 +03:00
pezkuwichain
dd1e0dc294
feat: add Telegram mini app connect for P2P access
2026-01-29 21:27:13 +03:00
pezkuwichain
4a3694c831
Fix all shadow deprecation warnings across entire mobile app
...
- Replaced shadowColor/shadowOffset/shadowOpacity/shadowRadius with boxShadow
- Fixed 28 files (21 screens + 7 components)
- Preserved elevation for Android compatibility
- All React Native Web deprecation warnings resolved
Files fixed:
- All screen components
- All reusable components
- Navigation components
- Modal components
2026-01-14 15:05:10 +03:00
pezkuwichain
1295c36241
Rebrand: polkadot → pezkuwi build fixes
...
- Fixed TypeScript type assertion issues
- Updated imports from api-augment/substrate to api-augment/bizinikiwi
- Fixed imgConvert.mjs header and imports
- Added @ts-expect-error for runtime-converted types
- Fixed all @polkadot copyright headers to @pezkuwi
2026-01-07 02:32:54 +03:00
pezkuwichain
c53d9de1f1
fix(p2p): rename 'My Orders' to 'My Trades' for consistency
...
- Updated P2POrders.tsx page title
- Updated P2PDashboard.tsx button label
- Updated P2PTrade.tsx back button
- Updated P2PDispute.tsx navigation button
- Updated NotificationBell.tsx link text
- Terminology now correctly reflects p2p_fiat_trades table
2025-12-12 01:48:40 +03:00
pezkuwichain
f978550910
fix: implement Remember Me functionality for login
...
- Add rememberMe parameter to signIn function in AuthContext
- Store remember_me preference in localStorage
- Skip session timeout when Remember Me is enabled
- Clear remember_me on signOut
- Pass rememberMe from Login.tsx to signIn call
2025-12-12 01:39:17 +03:00
pezkuwichain
14f5e84d15
feat(p2p): implement OKX-style internal ledger escrow system
...
Phase 5 implementation - Internal Ledger Escrow (OKX Model):
- No blockchain transactions during P2P trades
- Blockchain tx only at deposit/withdraw
- Fast and fee-free P2P trading
Database:
- Add user_internal_balances table
- Add p2p_deposit_withdraw_requests table
- Add p2p_balance_transactions table
- Add lock_escrow_internal(), release_escrow_internal() functions
- Add process_deposit(), request_withdraw() functions
UI Components:
- Add InternalBalanceCard showing available/locked balances
- Add DepositModal for crypto deposits to P2P balance
- Add WithdrawModal for withdrawals from P2P balance
- Integrate balance card into P2PDashboard
Backend:
- Add process-withdrawal Edge Function
- Add verify-deposit Edge Function
Updated p2p-fiat.ts:
- createFiatOffer() uses internal balance lock
- confirmPaymentReceived() uses internal balance transfer
- Add internal balance management functions
2025-12-12 00:41:11 +03:00
pezkuwichain
a0bcfcc222
refactor: reorganize docs folder structure and update P2P plan
2025-12-11 21:01:58 +03:00
pezkuwichain
df58d26893
feat(p2p): add Phase 4 merchant tier system and migrations
...
- Add merchant tier system (Lite/Super/Diamond) with tier badges
- Add advanced order filters (token, fiat, payment method, amount range)
- Add merchant dashboard with stats, ads management, tier upgrade
- Add fraud prevention system with risk scoring and trade limits
- Rename migrations to timestamp format for Supabase CLI compatibility
- Add new migrations: phase2_phase3_tables, fraud_prevention, merchant_system
2025-12-11 10:39:08 +03:00
pezkuwichain
7330b2e7a6
feat(p2p): add Phase 3 dispute system components
...
- Add DisputeModal.tsx with reason selection, evidence upload, terms acceptance
- Add P2PDispute.tsx page with evidence gallery, status timeline, real-time updates
- Integrate dispute button in P2PTrade.tsx
- Add /p2p/dispute/:disputeId route to App.tsx
- Add P2P test suite with MockStore pattern (32 tests passing)
- Update P2P-BUILDING-PLAN.md with Phase 3 progress (70% complete)
- Fix lint errors in test files and components
2025-12-11 09:10:04 +03:00
pezkuwichain
8a602dc3fa
feat(explorer): implement real blockchain data explorer
...
- Live block/extrinsic data from Polkadot.js API
- Network stats: best block, finalized, validators, era, TPS
- Recent blocks and extrinsics with success/fail status
- Search by block number, hash, or address
- Auto-refresh via subscribeNewHeads()
2025-12-11 05:33:13 +03:00
pezkuwichain
0cddd9c3f1
feat(forum): implement real forum with Supabase integration
...
- Forum.tsx: categories, discussions, stats, search, sort, announcements
- ForumTopic.tsx: replies, voting, bookmarks, report, nested comments
- App.tsx: added ForumTopic route for /forum/:id
2025-12-11 05:20:45 +03:00
pezkuwichain
12344198aa
feat(wallet): add token logos to wallet dashboard and transfer modal
2025-12-11 04:31:10 +03:00
pezkuwichain
f1b8d9160e
fix(wallet): restore real blockchain WalletDashboard, remove mock Wallet page
2025-12-11 04:04:10 +03:00
pezkuwichain
e974097072
fix(docs): support multiple SDK paths for local and CI environments
2025-12-11 03:12:56 +03:00
pezkuwichain
47ea12d0de
feat(governance): implement real blockchain data for governance section
...
- Update ElectionsInterface to fetch real elections from welati pallet
- Add MyVotes component for user voting history (proposals, elections, delegations)
- Add GovernanceHistory component for completed elections and proposals
- Integrate DelegationManager into GovernanceInterface delegation tab
- Fix linter errors across multiple files (unused imports, type annotations)
- Update eslint.config.js to ignore SDK docs and CJS files
2025-12-11 01:45:13 +03:00
pezkuwichain
11678fe7cd
feat(web): add network subpages and subdomains listing page
...
- Add /subdomains page listing all 20 PezkuwiChain subdomains
- Add Back to Home button to Subdomains page
- Create NetworkPage reusable component for network details
- Add 7 network subpages: /mainnet, /staging, /testnet, /beta, /alfa, /development, /local
- Update ChainSpecs network cards to navigate to network subpages
- Add i18n translations for chainSpecs section in en.ts
- Add SDK docs with rebranding support (rebrand-rustdoc.cjs)
- Add generate-docs-structure.cjs for automatic docs generation
- Update shared libs: endpoints, polkadot, wallet, xcm-bridge
- Add new token logos: TYR, ZGR, pezkuwi_icon
- Add new pages: Explorer, Docs, Wallet, Api, Faucet, Developers, Grants, Wiki, Forum, Telemetry
2025-12-11 00:33:47 +03:00
pezkuwichain
51028e6344
feat: Phase 3 - P2P Fiat Trading System (Production-Ready)
...
Major Updates:
- Footer improvements: English-only text, proper alignment, professional icons
- DEX Pool implementation with AMM-based token swapping
- Enhanced dashboard with DashboardContext for centralized data
- New Citizens section and government entrance page
DEX Features:
- Token swap interface with price impact calculation
- Pool management (add/remove liquidity)
- Founder-only admin panel for pool creation
- HEZ wrapping functionality (wHEZ)
- Multiple token support (HEZ, wHEZ, USDT, USDC, BTC)
UI/UX Improvements:
- Footer: Removed distracting images, added Mail icons, English text
- Footer: Proper left alignment for all sections
- DEX Dashboard: Founder access badge, responsive tabs
- Back to home navigation in DEX interface
Component Structure:
- src/components/dex/: DEX-specific components
- src/components/admin/: Admin panel components
- src/components/dashboard/: Dashboard widgets
- src/contexts/DashboardContext.tsx: Centralized dashboard state
Shared Libraries:
- shared/lib/kyc.ts: KYC status management
- shared/lib/citizenship-workflow.ts: Citizenship flow
- shared/utils/dex.ts: DEX calculations and utilities
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-19 05:44:48 +03:00
Claude
c48ded7ff2
Reorganize repository into monorepo structure
...
Restructured the project to support multiple frontend applications:
- Move web app to web/ directory
- Create pezkuwi-sdk-ui/ for Polkadot SDK clone (planned)
- Create mobile/ directory for mobile app development
- Add shared/ directory with common utilities, types, and blockchain code
- Update README.md with comprehensive documentation
- Remove obsolete DKSweb/ directory
This monorepo structure enables better code sharing and organized
development across web, mobile, and SDK UI projects.
2025-11-14 00:46:35 +00:00