mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-04-22 05:38:03 +00:00
ea2db6558f195d9e35b1550f878e739c50b306a2
- Remove all Polkadot ecosystem networks from chain selector - Keep only: Pezkuwi Relay Chain, Zagros Relay Chain, Pezkuwi Beta Testnet - Update extension ID from polkadot-js to pezkuwi - Update PhishingDetected to use Pezkuwi branding - Update metadataMock: Westend → Zagros, WND → ZGR - Disable Ledger chains (no Pezkuwi Ledger app yet) - Update Identicon to handle pezkuwi icon theme - Clean up translation files Breaking: Extension now only supports Pezkuwi networks
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
- Chrome: Coming soon to Chrome Web Store
- Firefox: Coming soon to Firefox Add-ons
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
- Enable corepack:
corepack enable - Install dependencies:
yarn install - Build for Chrome:
yarn build:chrome - Build for Firefox:
yarn build:ff
Loading the Extension
Chrome:
- Go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select
packages/extension/build
Firefox:
- Go to
about:debugging#addons - Check "Enable add-on debugging"
- Click "Load Temporary Add-on" and select
packages/extension/build/manifest.json
Packages
- extension - Main entry point with injection and background logic
- extension-ui - UI components for the popup
- extension-dapp - Wrapper for dapps to work with injected objects
- extension-inject - Wrapper for extension developers to inject their extension
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();
Links
- Website: https://pezkuwichain.io
- Documentation: https://docs.pezkuwichain.io
- GitHub: https://github.com/pezkuwichain
- API Docs: https://js.pezkuwichain.app
License
Apache-2.0
Author
Dijital Kurdistan Tech Institute
Description
Languages
JavaScript
86.7%
TypeScript
13%
CSS
0.2%