Commit Graph
18 Commits
Author SHA1 Message Date
Satoshi Qazi Muhammed 8c9ee48278 Drop the foreign chains' parameters; fix the Zagros genesis
- api/constants: only PEZKUWI_GENESIS and ZAGROS_GENESIS remain. The
  Zagros value was a placeholder from before its launch; it is now the
  live chain's genesis (0x1b0b4727…2cd5, measured).
- Inflation, proposal thresholds and governance tracks keep the Pezkuwi
  entries; the Dicle, Kulupu, Cere, Vara, Joystream, zkVerify, Dock,
  Neatcoin and NFTMart ones go, as do the dicle tracks.
- getTeleportWeight was used nowhere: removed.
- page-society: the Dicle-only "design samples" button and its canary
  drawing go, with their table column.
- page-assets: the next-id rule keyed on Polkadot's and Kusama's asset
  hub genesis never matched a Pezkuwi chain; removed, no change there.
- ParaLink: the Subscan link went to scan.pezkuwichain.io, which does
  not resolve; removed (coretime keeps the homepage link).
- typesBundle generator: no unused sort-keys directive when empty.
2026-10-10 04:54:16 +04:00
Satoshi Qazi Muhammed 7fae8bc279 apps-config: drop the foreign chains' type bundles
typesBundle carried overrides for 140 chains inherited from upstream;
none of them is a Pezkuwi chain. The live Pezkuwi and Zagros runtimes
(pezkuwichain, asset-hub-pezkuwichain, people-pezkuwichain, zagros and
its asset hub, bridge hub, collectives, coretime and people) match no
entry and need none: they carry metadata v14+.

The spec files, the Cere chain bundle, the custom derives and the 32
npm packages they came from are removed, among them GPL-3.0-only ones
(pontem, moonbeam, subsocial, jamton) that were bundled into this
Apache-2.0 app. The spec/chain/derives mechanism stays, empty, for a
chain that ever needs one. typesBundle.ts is regenerated (15 lines).
yarn.lock loses 3250 lines, elliptic and the old @polkadot/api trees
with them.
2026-10-10 04:54:16 +04:00
Satoshi Qazi Muhammed 0fd88403bd apps-config: keep logion and digitalnative type bundles as data
@logion/node-api (Apache-2.0) and @digitalnative/type-definitions (MIT)
were imported only for their type definitions, and each brought an old
@polkadot/api tree with it (util-crypto 6/7, elliptic, uuid). The
definitions are now in the spec files, with their source and license.

Checked by serialising each resulting bundle with key order and
undefined preserved: byte-identical to what the packages produced
(logion 27715 bytes, standard and opportunity 1778 each).

RegistryTypes does not model a struct's `_alias` map, which the registry
accepts; the merged latest logion types are cast at that one point.
2026-10-10 04:09:47 +04:00
Satoshi Qazi Muhammed 45d479d2ec Move to @pezkuwi/dev 0.86.4 (eslint 10 toolchain)
- dev ^0.86.4 at the root and in packages/apps; directives renamed by
  pezkuwi-dev-migrate-eslint10.
- eslint --fix with the 0.86.4 config; one fix broke syntax
  (typescript-eslint prefer-optional-chain turned
  `(isStarted && onStart) && onStart()` into `(isStarted && onStart?.();`
  in TxButton) and is corrected by hand.
- The remaining findings fixed rather than disabled: optional chains
  (each suggestion reviewed), `cause` on rethrown errors, `if` instead of
  `a && promise` in effects, parallel instead of sequential awaits in
  Promise.all, Error rejections, no `delete` on arrays (the storage query
  cache is a Map; an upload's file list no longer keeps a hole), no
  `[object Object]` stringification (TFunction's second argument is text
  or options), dead code removed (referenda's never-shown expand button,
  react-query's unused CoreDescriptor).
2026-10-10 02:06:12 +04:00
Satoshi Qazi Muhammed 465ac76a0a Regenerate typesBundle.ts
build:code regenerates this file from the chain specs; 7a4bbea edited
it by hand and removed the zeitgeist market and court types, so every
build rewrote it and the committed copy was never what the build used.
It is the generator's output again; lint, build and tests pass on it.
2026-10-08 12:06:45 +04:00
github-actions[bot] fd7e4522e2 chore: migrate git dependencies to Gitea mirror (git.pezkuwichain.io) 2026-04-21 18:53:14 +03:00
github-actions[bot] b2e2798d8c feat: update branding, genesis hash, and fix UI issues
- Update PEZKUWI_GENESIS to correct hash (0x1fc56b6a5fcd50358707f69b2b0bb0c8ab1fea2bcfc5eba7279efbcafef642af)
- Change highlight color from pink/orange to Kurdistan green (#86e62a)
- Add critical CSS in index.html to fix initial theme load issue
- Fix metadata badge showing incorrectly on every page load
- Fix block time text rendering vertically in explorer
- Update SVG logos with correct branding colors
2026-01-30 11:10:18 +03:00
Kurdistan Tech MinistryandClaude Opus 4.5 7a4bbeac25 fix: update extension packages and fix type compatibility for pezkuwi-sdk
- Update @pezkuwi/extension-inject to ^0.62.13 with proper /types exports
- Update @pezkuwi/extension-dapp to ^0.62.13
- Update @pezkuwi/extension-compat-metamask to ^0.62.13
- Fix IconTheme type to include 'bizinikiwi' and 'pezkuwi' themes
- Fix endpoint array issues (getTeleports -> direct array references)
- Add type assertions for external package compatibility (acala, moonbeam, parallel)
- Fix subspace.ts dynamic class typing
- Fix conviction type in page-referenda
- Update Pallet type names to Pezpallet prefix across codebase
- Define InjectedExtension types locally for module resolution
- Add styled-components DefaultTheme augmentation
- Add react-copy-to-clipboard type declaration for React 18

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 16:24:19 +03:00
Kurdistan Tech Ministry 45320e6f27 refactor: remove non-Pezkuwi blockchains from menu and update external service URLs
- Remove Paseo, prodChains, testChains from sidebar menu
- Keep only Pezkuwi, Dicle, Zagros networks and their parachains
- Update external service links to use Pezkuwi domains:
  - explorer.pezkuwichain.io (block explorer)
  - scan.pezkuwichain.io (blockchain scanner)
  - statescan.pezkuwichain.io (state explorer)
  - stats.pezkuwichain.io (validator stats)
  - treasury.pezkuwichain.io (treasury dashboard)
  - governance.pezkuwichain.io (governance portal)
- Disable non-applicable external services (Subsquare, KodaDot, etc.)
- Fix eslint errors (key ordering, unsafe member access)
2026-01-08 11:16:24 +03:00
Kurdistan Tech Ministry d9eb5d9715 fix: remove unnecessary type assertions and fix key ordering in index.ts 2026-01-08 10:38:03 +03:00
Kurdistan Tech Ministry 7c1295d1d5 fix: resolve remaining eslint errors (key ordering and unsafe member access) 2026-01-08 10:27:55 +03:00
Kurdistan Tech Ministry 7e205f6c12 fix: add eslint-disable for unsafe-assignment errors 2026-01-08 02:25:25 +03:00
Kurdistan Tech Ministry e0d25b2d3a fix: fix remaining lint errors 2026-01-08 02:11:31 +03:00
Kurdistan Tech Ministry 513dc8e57f fix: fix lint errors and update headers 2026-01-08 02:04:15 +03:00
Kurdistan Tech Ministry 8416c121a1 chore: update copyright year to 2026 2026-01-08 00:30:05 +03:00
Kurdistan Tech Ministry a91f2cf714 fix: update URLs, logos, and package versions
- Fix GitHub URLs from pezkuwi-js/apps to pezkuwichain/pezkuwi-apps
- Fix wiki URL from wiki.pezkuwi.network to wiki.pezkuwichain.io
- Fix support/statement URLs to use pezkuwichain.io domain
- Fix chain logos import (use variables instead of strings)
- Update @pezkuwi/networks to ^14.0.9
- Update @pezkuwi/types-known to ^16.5.8
2026-01-07 16:23:36 +03:00
Kurdistan Tech Ministry 6f59b1f3e4 fix: hardcode genesis hashes for Dicle, Pezkuwi, Zagros 2026-01-07 13:20:56 +03:00
Kurdistan Tech Ministry d21bfb1320 feat: initial Pezkuwi Apps rebrand from polkadot-apps
Rebranded terminology:
- Polkadot → Pezkuwi
- Kusama → Dicle
- Westend → Zagros
- Rococo → PezkuwiChain
- Substrate → Bizinikiwi
- parachain → teyrchain

Custom logos with Kurdistan brand colors (#e6007a → #86e62a):
- bizinikiwi-hexagon.svg
- sora-bizinikiwi.svg
- hezscanner.svg
- heztreasury.svg
- pezkuwiscan.svg
- pezkuwistats.svg
- pezkuwiassembly.svg
- pezkuwiholic.svg
2026-01-07 13:05:27 +03:00