pezkuwichain
dd976c88a7
feat: add WalletConnect v2 integration for mobile wallet connection
...
- Add @walletconnect/sign-client for dApp-side WC v2 support
- Create walletconnect-service.ts with session management and Signer adapter
- Create WalletConnectModal.tsx with QR code display
- Update PezkuwiContext with connectWalletConnect(), session restore, walletSource tracking
- Update WalletContext signing router: mobile → WalletConnect → extension
- Update WalletModal with "Connect with pezWallet (Mobile)" button
- Move WalletConnect projectId to env variable
- Fix vite build: disable assetsInclude for JSON (crypto-browserify compat)
2026-02-22 18:36:29 +03:00
pezkuwichain
3c89577d55
chore: update @pezkuwi packages to latest stable versions
...
- Update all @pezkuwi packages in web, mobile, and backend
- API 16.5.36, Common 14.0.25, WASM 7.5.17
2026-02-01 22:50:51 +03:00
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
9570465435
fix: update vite and vite-plugin-node-polyfills to fix moderate vulnerabilities
2026-01-29 03:59:28 +03:00
pezkuwichain
bf85df1651
feat(telegram): add Telegram Mini App for Pezkuwichain
...
- Add @twa-dev/sdk dependency for Telegram WebApp integration
- Create useTelegram hook for Telegram SDK integration (haptics, popups, etc.)
- Create usePezkuwiApi hook for blockchain API connection
- Add Discord-like Sidebar with 5 sections navigation
- Add Announcements section with like/dislike reactions
- Add Forum section with thread creation and replies
- Add Rewards section with referral program and epoch claims
- Add APK section for Pezwallet download with changelog
- Add Wallet section with balance, staking info, and transactions
- Create main TelegramApp component with routing
- Add /telegram route to App.tsx
UI Structure:
- Left: Discord-style icon sidebar (Announcements, Forum, Rewards, APK, Wallet)
- Right: Active section content area
- Mobile-first responsive design with Telegram theme integration
Integrations:
- Uses existing shared/lib functions for referral, staking, scores
- Supports Telegram startParam for referral codes
- Haptic feedback for native Telegram experience
- Telegram Main/Back button integration
2026-01-26 17:42:35 +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
1325767529
fix: update @pezkuwi packages and resolve alias conflicts
...
- Update @pezkuwi/api to 16.5.6, extension-dapp to 0.62.11
- Add npm overrides to fix internal dependency version mismatches
- Rename @pezkuwi/types alias to @local/types to prevent collision with npm package
- Update shared/utils/dex.ts import to use @local/types/dex
2026-01-07 03:01:54 +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
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
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
Claude
15d6dc62c9
fix: resolve remaining ESLint error and install missing globals dependency
...
- Removed unused useCallback import from CitizensIssues.tsx
- Installed globals package required by eslint.config.js
- All ESLint errors and warnings now resolved
Lint now passes with 0 errors and 0 warnings.
2025-11-21 13:39:36 +00:00
pezkuwichain
db8cb44db0
feat(production): finalize production-readiness improvements
...
IMPROVEMENTS:
1. ✅ ESLint warnings reduced (27→26, Auth context fully fixed)
- AuthContext: Fixed signOut, checkSessionTimeout, checkAdminStatus dependencies
- All functions wrapped with useCallback for stability
- Remaining warnings are non-critical (fast-refresh, intentional exhaustive-deps)
2. ✅ i18n key coverage verified (100%)
- All 6 languages: en, ar, ckb, fa, kmr, tr
- 50 translation keys per language
- Perfect key parity across all locales
- No missing translations
3. ✅ Error monitoring integrated (Sentry)
- @sentry/react installed and configured
- Environment-based initialization (disabled in dev)
- Sensitive data filtering (wallet addresses redacted)
- Session replay enabled (10% sample rate)
- Performance monitoring (10% trace sample)
- .env variables for production/staging DSN
PRODUCTION READY STATUS:
- Build: ✓ Success (7.05s)
- Bundle: ✓ Optimized (polkadot 367KB gzip, vendor 52KB gzip)
- ESLint: ✓ 0 errors, 26 warnings (non-critical)
- i18n: ✓ 100% coverage
- Error tracking: ✓ Configured
- Environment config: ✓ Complete
NEXT: Pre-sale UI implementation
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-20 06:37:40 +03:00
pezkuwichain
0e0ef734fc
fix(critical): resolve 4 production blockers
...
CRITICAL FIXES:
1. ✅ Hardcoded endpoint replaced with env variable
- App.tsx: Uses VITE_WS_ENDPOINT from .env
- PolkadotContext: Fallback endpoints support
- .env & .env.production: Added VITE_WS_ENDPOINT config
2. ✅ Console statements guarded (433 instances)
- All console.log/warn/error wrapped with import.meta.env.DEV
- Production builds now clean (no console output)
3. ✅ ESLint error fixed
- vite.config.ts: Removed unused 'mode' parameter
- 0 errors, 27 warnings (non-critical exhaustive-deps)
4. ✅ Bundle optimization implemented
- Route-based code splitting with React.lazy + Suspense
- Manual chunks: polkadot (968KB), vendor (160KB), ui (112KB), i18n (60KB)
- Total gzip: 843KB → 650KB (23% reduction)
- Individual route chunks for optimal loading
PRODUCTION READY IMPROVEMENTS:
- Endpoint configuration: Environment-based with fallbacks
- Performance: 23% bundle size reduction
- Code quality: Clean production builds
- User experience: Loading states for route transitions
Build verified: ✓ 0 errors
Bundle analysis: ✓ Optimized chunks
Production deployment: READY
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-20 06:26:48 +03:00
pezkuwichain
a7c8d00afe
chore(project): Update dependencies, vite config, and clean up repository
2025-11-19 18:45:00 +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