Kurdistan Tech Ministry
db65f7996d
fix: add browser to mainFields resolution to prevent crypto-browserify bundling
...
ws package has a browser field pointing to a crypto-free entry point.
Without 'browser' in mainFields, Vite resolved the Node.js version
which pulled in crypto-browserify -> inherits -> runtime error.
2026-02-22 19:48:03 +03:00
Kurdistan Tech Ministry
1ee4bc4f1d
fix: add browser to mainFields resolution to prevent crypto-browserify bundling
...
ws package has a browser field pointing to a crypto-free entry point.
Without 'browser' in mainFields, Vite resolved the Node.js version
which pulled in crypto-browserify -> inherits -> runtime error.
2026-02-22 19:48:03 +03:00
Kurdistan Tech Ministry
e8efc4f1c8
fix: alias crypto-browserify to native Web Crypto shim (inherits error)
2026-02-22 19:37:19 +03:00
Kurdistan Tech Ministry
e2cfa136f9
fix: alias crypto-browserify to native Web Crypto shim (inherits error)
2026-02-22 19:37:19 +03:00
Kurdistan Tech Ministry
dbcfed6dc3
fix: remove unused imports and add missing dependency
2026-02-22 19:28:20 +03:00
Kurdistan Tech Ministry
ddcf3eca23
fix: remove unused imports and add missing dependency
2026-02-22 19:28:20 +03:00
Kurdistan Tech Ministry
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
Kurdistan Tech Ministry
88b69f13cd
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
Kurdistan Tech Ministry
d91a9055c3
fix: add 200 missing translation keys to all locale files
...
Add chainSpecs, delegation, governance, hero, identity, login,
nav, notifications, profile, proposals, team, websocket keys
to tr, kmr, ckb, ar, fa locale files.
2026-02-22 16:10:56 +03:00
Kurdistan Tech Ministry
da7098bc42
fix: add 200 missing translation keys to all locale files
...
Add chainSpecs, delegation, governance, hero, identity, login,
nav, notifications, profile, proposals, team, websocket keys
to tr, kmr, ckb, ar, fa locale files.
2026-02-22 16:10:56 +03:00
Kurdistan Tech Ministry
ef93735ef4
fix: query nominators from Asset Hub, treasury balances from both chains
...
NetworkStats now queries staking.nominators from Asset Hub instead of
Relay Chain (staking migrated to AH). Treasury hook fetches HEZ from RC
and PEZ from AH (asset 1) for accurate balance display.
2026-02-22 06:36:15 +03:00
Kurdistan Tech Ministry
8f187cd971
fix: query nominators from Asset Hub, treasury balances from both chains
...
NetworkStats now queries staking.nominators from Asset Hub instead of
Relay Chain (staking migrated to AH). Treasury hook fetches HEZ from RC
and PEZ from AH (asset 1) for accurate balance display.
2026-02-22 06:36:15 +03:00
Kurdistan Tech Ministry
3d43d2edf7
fix: add missing tokenomics, teamSection and treasury keys to en.ts
2026-02-22 05:39:44 +03:00
Kurdistan Tech Ministry
d19be068f9
fix: add missing tokenomics, teamSection and treasury keys to en.ts
2026-02-22 05:39:44 +03:00
Kurdistan Tech Ministry
d282f609aa
feat: complete i18n support for all components (6 languages)
...
Add full internationalization across 127+ components and pages.
790+ translation keys in en, tr, kmr, ckb, ar, fa locales.
Remove duplicate keys and delete unused .json locale files.
2026-02-22 04:48:20 +03:00
Kurdistan Tech Ministry
4f683538d3
feat: complete i18n support for all components (6 languages)
...
Add full internationalization across 127+ components and pages.
790+ translation keys in en, tr, kmr, ckb, ar, fa locales.
Remove duplicate keys and delete unused .json locale files.
2026-02-22 04:48:20 +03:00
Kurdistan Tech Ministry
df22c9ba10
feat: clone shared i18n translations to web locale files
...
Add ~200 new translation keys per language from shared library.
Create separate ckb.ts for Sorani Kurdish (was using Kurmanji).
2026-02-21 17:34:38 +03:00
Kurdistan Tech Ministry
5b26cc8907
feat: clone shared i18n translations to web locale files
...
Add ~200 new translation keys per language from shared library.
Create separate ckb.ts for Sorani Kurdish (was using Kurmanji).
2026-02-21 17:34:38 +03:00
Kurdistan Tech Ministry
bfb56dacab
feat: add language switcher to mobile nav bar
2026-02-21 16:53:48 +03:00
Kurdistan Tech Ministry
829fdc83d2
feat: add language switcher to mobile nav bar
2026-02-21 16:53:48 +03:00
Kurdistan Tech Ministry
c36625e578
fix: calculate total staked from ledger entries instead of erasTotalStake
2026-02-21 16:35:39 +03:00
Kurdistan Tech Ministry
c844932519
fix: calculate total staked from ledger entries instead of erasTotalStake
2026-02-21 16:35:39 +03:00
Kurdistan Tech Ministry
c48b16a256
fix: replace trust score card with citizen count (Hejmara Kurd)
2026-02-21 16:33:16 +03:00
Kurdistan Tech Ministry
43ffc65ee6
fix: replace trust score card with citizen count (Hejmara Kurd)
2026-02-21 16:33:16 +03:00
Kurdistan Tech Ministry
1837fb1f00
feat: nav 4x2 button grid + hero stats from correct chains
...
- Replace nav menu with 4x2 mobile-app-style button grid (responsive)
- Fetch staking stats from Asset Hub instead of Relay Chain
- Governance stats (proposals, voters) remain on Relay Chain
- Trust score: show login prompt for guests, real score for users
- Full-width root container, centered hero, node globals shim fix
2026-02-21 16:29:53 +03:00
Kurdistan Tech Ministry
a5a9bcca91
feat: nav 4x2 button grid + hero stats from correct chains
...
- Replace nav menu with 4x2 mobile-app-style button grid (responsive)
- Fetch staking stats from Asset Hub instead of Relay Chain
- Governance stats (proposals, voters) remain on Relay Chain
- Trust score: show login prompt for guests, real score for users
- Full-width root container, centered hero, node globals shim fix
2026-02-21 16:29:53 +03:00
Kurdistan Tech Ministry
d9d5112383
feat: migrate staking from Relay Chain to Asset Hub
...
- shared/staking.ts: update for AH (remove babe dep, remove validatorPool, bonding 2 eras)
- StakingDashboard: switch all staking operations from api (RC) to assetHubApi (AH)
2026-02-21 02:55:27 +03:00
Kurdistan Tech Ministry
e4abee939f
feat: migrate staking from Relay Chain to Asset Hub
...
- shared/staking.ts: update for AH (remove babe dep, remove validatorPool, bonding 2 eras)
- StakingDashboard: switch all staking operations from api (RC) to assetHubApi (AH)
2026-02-21 02:55:27 +03:00
Kurdistan Tech Ministry
9fd6b79249
fix: citizenship pending approvals not showing for founder
...
Application struct has no status field - was filtering by
appData.status === 'PendingReferral' which always returned false.
Now checks kycStatuses storage instead, and allows founder to see
all pending applications.
2026-02-20 00:44:05 +03:00
Kurdistan Tech Ministry
6ac55ecf88
fix: citizenship pending approvals not showing for founder
...
Application struct has no status field - was filtering by
appData.status === 'PendingReferral' which always returned false.
Now checks kycStatuses storage instead, and allows founder to see
all pending applications.
2026-02-20 00:44:05 +03:00
Kurdistan Tech Ministry
a31770aabe
fix: resolve eslint no-explicit-any in PEZ treasury query
2026-02-18 06:01:42 +03:00
Kurdistan Tech Ministry
ecda5374e4
fix: resolve eslint no-explicit-any in PEZ treasury query
2026-02-18 06:01:42 +03:00
Kurdistan Tech Ministry
65bc266841
fix: correct trust score divisor to 10000 and show both relay+PEZ treasury balances
2026-02-18 05:45:33 +03:00
Kurdistan Tech Ministry
dd2301f175
fix: correct trust score divisor to 10000 and show both relay+PEZ treasury balances
2026-02-18 05:45:33 +03:00
Kurdistan Tech Ministry
da8abecaca
fix: replace mock governance data with live chain queries and fix trust score formulas
2026-02-18 05:04:01 +03:00
Kurdistan Tech Ministry
ead3ea11a5
fix: replace mock governance data with live chain queries and fix trust score formulas
2026-02-18 05:04:01 +03:00
Kurdistan Tech Ministry
676d0415c0
fix: reduce hero stat card font size to prevent text overflow
2026-02-17 16:50:32 +03:00
Kurdistan Tech Ministry
6cabedb269
fix: reduce hero stat card font size to prevent text overflow
2026-02-17 16:50:32 +03:00
Kurdistan Tech Ministry
6d70a2793a
fix: hero stats - format staked tokens, real trust score, active-only proposals
2026-02-17 03:11:21 +03:00
Kurdistan Tech Ministry
210fb09469
fix: hero stats - format staked tokens, real trust score, active-only proposals
2026-02-17 03:11:21 +03:00
Kurdistan Tech Ministry
194816c9e9
fix: compute staking score from CachedStakingDetails instead of hardcoded 0
2026-02-17 02:38:46 +03:00
Kurdistan Tech Ministry
64caf56612
fix: compute staking score from CachedStakingDetails instead of hardcoded 0
2026-02-17 02:38:46 +03:00
Kurdistan Tech Ministry
226e997723
feat: staking score 3-state model and noter integration
2026-02-17 01:32:54 +03:00
Kurdistan Tech Ministry
b7d7d008dc
feat: staking score 3-state model and noter integration
2026-02-17 01:32:54 +03:00
Kurdistan Tech Ministry
56fe67f747
fix: update admin wallet whitelist with correct addresses
2026-02-17 00:25:51 +03:00
Kurdistan Tech Ministry
ce35392d67
fix: update admin wallet whitelist with correct addresses
2026-02-17 00:25:51 +03:00
Kurdistan Tech Ministry
631eaa5a4c
fix: rename Trust Score to Referral Score, merge invitations list
2026-02-16 04:31:31 +03:00
Kurdistan Tech Ministry
48250a36f5
fix: rename Trust Score to Referral Score, merge invitations list
2026-02-16 04:31:31 +03:00
Kurdistan Tech Ministry
3168144ff8
fix: remove unused FOUNDER_ADDRESS import
2026-02-16 04:07:59 +03:00
Kurdistan Tech Ministry
12a27c3f87
fix: remove unused FOUNDER_ADDRESS import
2026-02-16 04:07:59 +03:00