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
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
98e03d11fd
docs: update P2P plan - Phase 4 complete, OKX parity achieved
...
- All phases 1-4 now 100% complete
- Feature gap analysis shows 100% OKX parity
- Added Phase 4 completion details (merchant system, filters)
- Remaining: only blockchain integration for actual HEZ transfers
2025-12-11 23:46:39 +03:00
pezkuwichain
3524f5c5c6
docs(presale): add comprehensive presale documentation
...
Created three documentation files:
1. PRESALE_README.md - Quick overview and status
- All 5 phases completed
- Architecture diagram
- File locations
- Quick start guides
2. docs/presale/PRESALE_GUIDE.md - Complete user & admin guide
- Step-by-step participation guide
- Admin management (start/monitor/finalize)
- Emergency procedures
- Technical details and calculations
- FAQs and troubleshooting
3. docs/presale/PRESALE_TESTING.md - Testing checklist
- Pallet tests (backend logic)
- Frontend tests (UI/UX)
- Integration tests (end-to-end)
- Performance and security checks
All documentation reflects:
- Conversion rate: 1 wUSDT = 20 PEZ
- Duration: 45 days
- Max contributors: 10,000
- Pure pallet implementation (no smart contract)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-20 09:50:38 +03:00