Kurdistan Tech Ministry 758d346078 Make the Firefox source build reproducible, and let its check fail
The diff step rebuilds the extension from master-ff-src.zip (the source
archive AMO reviews) and compares the result with our build. It had never
worked, which the removed continue-on-error was hiding:

- The source zip left out .yarn/releases (yarnPath points there, so yarn
  could not start in the unpacked source) and scripts/ (build:ff runs
  scripts/postbuild-cleanup.cjs). Both are now included.
- diff.sh used `[ a || b ]`, which is not valid test syntax, and piped
  `diff -qr` into `sort`, so the check exited 0 whatever diff found. It now
  goes by diff's own exit status; with a file altered it fails.
- With those fixed, the builds still differed: webpack inlined
  import.meta.url from @pezkuwi/* packageInfo.js as the absolute file://
  path of the build machine, which also put our build directory into the
  published extension. DefinePlugin now gives it a fixed value; it is only
  shown in duplicate-version warnings.

Also fail-fast: false on the matrix. Without continue-on-error, the first
red step cancelled the others, so their results were lost.

Checked locally with node_modules as locked: "Builds are identical".
2026-10-08 09:07:34 +04:00

Pezkuwi Extension

A browser extension for PezkuwiChain that injects a @pezkuwi/api Signer into a page, along with any associated accounts, allowing for use by any dapp. This is an implementation of a PezkuwiChain browser signer.

Developed by Dijital Kurdistan Tech Institute

Overview

This extension manages accounts and allows the signing of transactions with those accounts for the PezkuwiChain network.

Installation

Documentation

Find out more about how to use the extension as a Dapp developer in the Pezkuwi Extension Documentation

Development

Prerequisites

  • Node.js >= 18.14
  • Yarn 4.x (via corepack)

Building from Source

  1. Enable corepack: corepack enable
  2. Install dependencies: yarn install
  3. Build for Chrome: yarn build:chrome
  4. Build for Firefox: yarn build:ff

Loading the Extension

Chrome:

  1. Go to chrome://extensions/
  2. Enable "Developer mode"
  3. Click "Load unpacked" and select packages/extension/build

Firefox:

  1. Go to about:debugging#addons
  2. Check "Enable add-on debugging"
  3. Click "Load Temporary Add-on" and select packages/extension/build/manifest.json

Packages

For Dapp Developers

Use the @pezkuwi/extension-dapp package to integrate with this extension or any compatible extension.

import { web3Enable, web3Accounts } from '@pezkuwi/extension-dapp';

// Enable the extension
const extensions = await web3Enable('My Dapp');

// Get all accounts
const accounts = await web3Accounts();

License

Apache-2.0

Author

Dijital Kurdistan Tech Institute

S
Description
No description provided
Readme Apache-2.0
23 MiB
1 Watchers 0 Forks
Languages
TypeScript 96.3%
JavaScript 1.7%
Python 0.6%
CSS 0.6%
Shell 0.4%
Other 0.4%