pezkuwichain
b8ab86028f
feat: add Be Citizen page with 6-language support
2026-02-14 20:44:17 +03:00
pezkuwichain
c4282f5870
feat(i18n): replace all hardcoded strings with translation calls
...
- Add translation keys for dashboard, send, receive, history, swap,
pools, staking, lpStaking, fees, tokens, errors, validation, time,
and context sections to types.ts and all 6 language files
- Replace hardcoded Kurdish/Turkish strings in all wallet components
with useTranslation() hook t() calls
- Replace hardcoded strings in non-React files (crypto, utils,
error-tracking, wallet-storage, contexts) with standalone translate()
- Fix Turkish strings incorrectly used in Kurdish codebase
2026-02-14 18:16:08 +03:00
pezkuwichain
71f142b9f4
feat(i18n): auto-detect language from Telegram user settings
...
- Detect language from URL path first, then Telegram WebApp language_code
- Map Telegram language codes (ku, tr, en, fa, ar, ckb) to app languages
- Auto-redirect to language-prefixed URL on first load
2026-02-14 11:53:06 +03:00
pezkuwichain
44a4b9395b
feat(supabase): add pezkiwi.app CORS and multi-bot-token auth support
...
- Add telegram.pezkiwi.app to CORS allowed origins in all edge functions
- Support multiple bot tokens (TELEGRAM_BOT_TOKEN, TELEGRAM_BOT_TOKEN_KRD) in auth
- Dynamic origin matching for proper CORS headers
2026-02-14 11:09:14 +03:00
pezkuwichain
f6125a127d
feat(deploy): add telegram.pezkiwi.app as second deploy target
2026-02-14 11:08:25 +03:00
pezkuwichain
9da348bdf3
feat: add i18n support with 6 languages (en, tr, krd, ar, fa, ckb)
...
- Add translation system with useTranslation hook and LanguageProvider
- Auto-detect language from Telegram user settings
- Update all components and sections to use translation keys
- Support English, Turkish, Kurdish, Arabic, Persian, Sorani
2026-02-14 11:06:14 +03:00
pezkuwichain
e5dd2b4b5b
refactor(ci): modularize workflows into ci, code-quality, security, deploy
...
- Split monolithic ci.yml into focused workflow files
- Add code-quality.yml with complexity analysis and duplicate detection
- Replace template codeql.yml with comprehensive security.yml (CodeQL, dependency audit, dependency review, secret scan)
- Separate deploy into its own workflow triggered by CI success
2026-02-14 11:02:05 +03:00
pezkuwichain
d48fb39c4e
refactor(scores): remove frontend fallback, read all scores from blockchain
...
- Remove localStorage staking tracking and manual score calculation
- Read trust, referral, tiki, perwerde scores directly from People Chain
- Add SubQuery integration for staking reward history display
- Align score system with pwap/shared implementation
2026-02-13 06:26:27 +03:00
pezkuwichain
107dbbacdf
feat: add platform fees for deposit networks
...
- TON: 0.1 USDT fee
- Polkadot: 0.1 USDT fee
- TRC20: 3 USDT fee (unchanged)
- Update fee display in Kurdish
2026-02-08 05:58:45 +03:00
pezkuwichain
c45f95fa31
feat: add USDT deposit card and fix transaction history parsing
...
- Add prominent 'USDT Zêde Bike' card above recent activity
- Fix MultiAddress parsing for Asset Hub transactions
- Add proper token names for wUSDT, DOT, ETH, BTC
- Use correct decimals per asset type
- Remove unused userId prop from DepositUSDTModal
2026-02-08 05:31:45 +03:00
pezkuwichain
bf8a3cc06c
fix: auto-sync wallet address to tg_users for deposit system
2026-02-08 04:24:06 +03:00
pezkuwichain
c100e99c0d
feat: add transfer fields to deposits table
2026-02-08 03:56:36 +03:00
pezkuwichain
57ddec9dde
ci: trigger rebuild with deposit addresses
2026-02-08 03:25:57 +03:00
pezkuwichain
7495366ce9
ci: add deposit address env vars
2026-02-08 03:21:39 +03:00
pezkuwichain
9cf241e859
feat: add USDT deposit system with TON, Polkadot, TRC20 support
2026-02-08 03:13:52 +03:00
pezkuwichain
734a8111db
feat: add multi-network USDT deposit (TON, Polkadot, TRC20 HD wallet)
2026-02-08 02:00:20 +03:00
pezkuwichain
456bbf1dd2
feat: add USDT deposit system with TRC20 and Polkadot support
2026-02-08 01:14:21 +03:00
pezkuwichain
12792277f9
feat: add bidirectional XCM teleport (Relay ↔ Teyrchains)
2026-02-08 00:21:39 +03:00
pezkuwichain
985393eef6
revert: restore original working FundFeesModal (relay to teyrchain only)
2026-02-08 00:08:36 +03:00
pezkuwichain
8cb925a0ef
fix: use V4 XCM format from pezkuwi-apps Teleport.tsx
2026-02-08 00:01:47 +03:00
pezkuwichain
d2b1dd48ae
fix: use pezkuwiXCM pallet on teyrchains
2026-02-07 23:47:52 +03:00
pezkuwichain
22d684c00e
debug: detect available XCM pallet on chain
2026-02-07 22:46:58 +03:00
pezkuwichain
1caf549a71
fix: correct XCM params based on working original code
2026-02-07 22:35:44 +03:00
pezkuwichain
99e9cd981f
fix: correct XCM teleport - use teyrchain, fix arrow direction
2026-02-07 22:28:12 +03:00
pezkuwichain
e76bec3284
feat: add bidirectional HEZ teleport (Relay ↔ Parachain)
2026-02-07 21:31:25 +03:00
pezkuwichain
4d4eb72722
fix: get correct LP token ID from assetConversion pool
2026-02-07 17:59:53 +03:00
pezkuwichain
cf3353a216
fix: wait for transaction finalization in LP staking
2026-02-07 17:48:55 +03:00
pezkuwichain
60285fa223
chore: clean up debug logs from Edge Functions and frontend
2026-02-07 06:44:50 +03:00
pezkuwichain
6b0fb5b90b
fix: extract actual error from Edge Function response
2026-02-07 06:35:00 +03:00
pezkuwichain
5c6a3f5e67
fix: show actual error message on reaction failure
2026-02-07 06:32:49 +03:00
pezkuwichain
ca404f2417
fix: auto-create user in tg_users when reacting
2026-02-07 06:21:34 +03:00
pezkuwichain
d98ae6dd81
fix: use initData directly for reactions instead of session token
2026-02-07 06:12:47 +03:00
pezkuwichain
2adf3760ce
debug: add detailed logging to auth flow
2026-02-07 05:53:36 +03:00
pezkuwichain
4674e06251
debug: add retry auth button and increase wait time to 5s
2026-02-07 05:40:20 +03:00
pezkuwichain
5382579f9f
debug: add more info to debug banner
2026-02-07 05:35:20 +03:00
pezkuwichain
f100296525
fix: add retry mechanism for Telegram initData loading
2026-02-07 05:29:12 +03:00
pezkuwichain
fbb6c93ca8
fix: use console.warn for debug logs
2026-02-07 04:46:28 +03:00
pezkuwichain
60a089daa5
debug: add early auth logging
2026-02-07 04:39:54 +03:00
pezkuwichain
b79fb83447
debug: improve error logging
2026-02-07 04:28:38 +03:00
pezkuwichain
d000ba78db
debug: add visible auth debug banner
2026-02-07 03:37:25 +03:00
pezkuwichain
760db703c5
debug: add auth logging to troubleshoot login issue
2026-02-07 03:36:05 +03:00
pezkuwichain
cd5ef71505
feat: add secure announcement reactions with session token validation
...
- Add announcement-reaction Edge Function for secure like/dislike
- Update telegram-auth to sync users to tg_users table
- Update useAnnouncementReaction hook to use Edge Function
- Add bridge announcement script and migration
2026-02-07 03:19:15 +03:00
pezkuwichain
321081f620
feat: add HEZ-DOT LP token and pool
2026-02-07 02:59:17 +03:00
pezkuwichain
9001878fb1
fix: correct asset IDs and decimals for DOT, ETH, BTC
...
- DOT: 6 -> 1001, decimals: 12 -> 10
- ETH: 5 -> 1002, decimals: 12 -> 18
- BTC: 4 -> 1003, decimals: 12 -> 8
- Remove BNB (not in asset list)
2026-02-07 02:49:40 +03:00
pezkuwichain
c8a1614f6a
fix: DOT balance display in swap modal
2026-02-07 02:46:06 +03:00
pezkuwichain
6b8a34f047
fix: TypeScript error in HEZStakingModal dispatchError type
2026-02-07 02:35:06 +03:00
pezkuwichain
0d9b8fee4f
feat: add HEZ staking for Trust Score
...
- Create HEZStakingModal with bond/nominate/unbond tabs
- Add staking selector to choose between HEZ and LP staking
- HEZ staking uses Relay Chain staking pallet
- LP staking uses Asset Hub assetRewards pallet
2026-02-07 02:32:34 +03:00
pezkuwichain
b641c742cc
fix: change debug console.log to console.warn for lint
2026-02-07 02:26:35 +03:00
pezkuwichain
7eacb94350
fix: LP staking query format - use separate args instead of array
2026-02-07 02:24:16 +03:00
pezkuwichain
67b30daca8
fix: tiki score, staking lookup, LP balance, teleport, DOT swap
...
- Fix tiki: use userTikis storage instead of userRoles
- Add tiki name to score mapping (welati=10, serok=50, etc)
- Improve staking ledger lookup with debug logging
- Fix LP balance fetching using poolId directly
- Change teleport placeholder from 0.5 to empty
- Add DOT token to swap list with 10 decimals
2026-02-07 02:20:04 +03:00