Rebrand: polkadot → pezkuwi internal references fixed

- Fixed internal @polkadot references to @pezkuwi
- Updated hw-ledger and hw-ledger-transports packages
- Updated keyring and networks packages
- Version 14.0.7
This commit is contained in:
2026-01-07 02:34:39 +03:00
parent 782581ecf6
commit a5542fdd87
619 changed files with 1200 additions and 1082 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util authors & contributors
// Copyright 2017-2025 @pezkuwi/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
module.exports = require('@polkadot/dev/config/prettier.cjs');
module.exports = require('@pezkuwi/dev/config/prettier.cjs');
+16 -16
View File
@@ -14,30 +14,30 @@
},
"sideEffects": false,
"type": "module",
"version": "14.0.1",
"version": "14.0.7",
"versions": {
"git": "14.0.1",
"npm": "14.0.1"
"git": "14.0.6",
"npm": "14.0.6"
},
"workspaces": [
"packages/*"
],
"scripts": {
"build": "polkadot-dev-build-ts",
"build:networks": "polkadot-dev-run-test packages/networks/src",
"build:release": "polkadot-ci-ghact-build",
"build:rollup": "polkadot-exec-rollup --config",
"clean": "polkadot-dev-clean-build",
"deno": "yarn polkadot-dev-deno-map && yarn build && deno check --import-map=import_map.json mod.ts",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"test": "polkadot-dev-run-test --env browser ^mnemonic/toMiniSecretCmp",
"test:mnemonicCmp": "polkadot-dev-run-test --env browser mnemonic/toMiniSecretCmp",
"test:node": "polkadot-dev-run-test --env browser ^mnemonic/toMiniSecretCmp",
"test:one": "polkadot-dev-run-test --env browser"
"build": "pezkuwi-dev-build-ts",
"build:networks": "pezkuwi-dev-run-test packages/networks/src",
"build:release": "pezkuwi-ci-ghact-build",
"build:rollup": "pezkuwi-exec-rollup --config",
"clean": "pezkuwi-dev-clean-build",
"deno": "yarn pezkuwi-dev-deno-map && yarn build && deno check --import-map=import_map.json mod.ts",
"lint": "pezkuwi-dev-run-lint",
"postinstall": "pezkuwi-dev-yarn-only",
"test": "pezkuwi-dev-run-test --env browser ^mnemonic/toMiniSecretCmp",
"test:mnemonicCmp": "pezkuwi-dev-run-test --env browser mnemonic/toMiniSecretCmp",
"test:node": "pezkuwi-dev-run-test --env browser ^mnemonic/toMiniSecretCmp",
"test:one": "pezkuwi-dev-run-test --env browser"
},
"devDependencies": {
"@polkadot/dev": "^0.83.3",
"@pezkuwi/dev": "^0.85.2",
"@types/node": "^22.7.5"
},
"resolutions": {
+1 -1
View File
@@ -14,7 +14,7 @@
},
"sideEffects": false,
"type": "module",
"version": "14.0.1",
"version": "14.0.7",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import LedgerHid from '@ledgerhq/hw-transport-webhid';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { createDefs } from './util.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './empty.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import LedgerHid from '@ledgerhq/hw-transport-node-hid-singleton';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/hw-ledger-transports authors & contributors
// Copyright 2017-2026 @pezkuwi/hw-ledger-transports authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// Do not edit, auto-generated by @pezkuwi/dev
// (packageInfo imports will be kept as-is, user-editable)
import { detectPackage } from '@pezkuwi/util';
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/hw-ledger-transports authors & contributors
// Copyright 2017-2026 @pezkuwi/hw-ledger-transports authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@polkadot/hw-ledger-transports', path: 'auto', type: 'auto', version: '14.0.1' };
export const packageInfo = { name: '@pezkuwi/hw-ledger-transports', path: 'auto', type: 'auto', version: '14.0.6' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './empty.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
// CJS, so we use import * syntax
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Transport, TransportDef, TransportType } from './types.js';
+1 -1
View File
@@ -17,7 +17,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.0.1",
"version": "14.0.7",
"main": "index.js",
"dependencies": {
"@pezkuwi/hw-ledger-transports": "14.0.1",
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SubstrateApp } from '@zondax/ledger-substrate';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { TransportDef, TransportType } from '@pezkuwi/hw-ledger-transports/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
// This is necessary to ensure users still have access to class Ledger even though its deprecated.
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
export const LEDGER_DEFAULT_ACCOUNT = 0x80000000;
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { supportedApps } from '@zondax/ledger-substrate';
+2 -2
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
// These map to the known name in the @zondax/ledger-substrate/supported_apps package
@@ -62,7 +62,7 @@ export const genericLedgerApps = {
vara: 'Vara'
};
// These match up with the keys of the knownLedger object in the @polkadot/networks/defaults/ledger.ts
// These match up with the keys of the knownLedger object in the @pezkuwi/networks/defaults/ledger.ts
export const ledgerApps: Record<string, string> = {
...prevLedgerRecord,
...genericLedgerApps
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './packageDetect.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './index.js';
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2026 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// Do not edit, auto-generated by @pezkuwi/dev
// (packageInfo imports will be kept as-is, user-editable)
import { packageInfo as transportInfo } from '@pezkuwi/hw-ledger-transports/packageInfo';
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2026 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@polkadot/hw-ledger', path: 'auto', type: 'auto', version: '14.0.1' };
export const packageInfo = { name: '@pezkuwi/hw-ledger', path: 'auto', type: 'auto', version: '14.0.6' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// Copyright 2017-2025 @pezkuwi/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { HexString } from '@pezkuwi/util/types';
+1 -1
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.0.2",
"version": "14.0.7",
"main": "index.js",
"dependencies": {
"@pezkuwi/util": "14.0.1",
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all external
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
// default substrate dev phrase
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import type { KeyringPair$Json } from './types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './packageDetect.js';
+2 -2
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { EncryptedJsonEncoding, Keypair, KeypairType } from '@pezkuwi/util-crypto/types';
@@ -23,7 +23,7 @@ function pairToPublic ({ publicKey }: KeyringPair): Uint8Array {
}
/**
* # @polkadot/keyring
* # @pezkuwi/keyring
*
* ## Overview
*
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './index.js';
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2026 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// Do not edit, auto-generated by @pezkuwi/dev
// (packageInfo imports will be kept as-is, user-editable)
import { detectPackage } from '@pezkuwi/util';
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2026 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@polkadot/keyring', path: 'auto', type: 'auto', version: '14.0.1' };
export const packageInfo = { name: '@pezkuwi/keyring', path: 'auto', type: 'auto', version: '14.0.6' };
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { createTestPairs } from '../testingPairs.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { EncryptedJsonEncoding } from '@pezkuwi/util-crypto/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
/** public/secret section divider (generation 1-3, will change in 4, don't rely on value) */
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { NONCE_LENGTH, SCRYPT_LENGTH } from '@pezkuwi/util-crypto/json/constants';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { PairInfo } from './types.js';
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { hexToU8a, u8aToHex } from '@pezkuwi/util';
import { cryptoWaitReady, encodeAddress as toSS58, setSS58Format } from '@pezkuwi/util-crypto';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { EncryptedJsonEncoding, Keypair, KeypairType } from '@pezkuwi/util-crypto/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '../types.js';
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { createTestPairs } from '../testingPairs.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { KeypairType } from '@pezkuwi/util-crypto/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
export interface PairInfo {
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { u8aToHex } from '@pezkuwi/util';
import { cryptoWaitReady, ed25519PairFromSeed, encodeAddress as toSS58, randomAsU8a, secp256k1PairFromSeed, sr25519PairFromSeed } from '@pezkuwi/util-crypto';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { KeyringPair, KeyringPairs } from './types.js';
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
// From https://github.com/paritytech/substrate/wiki/Secret-URI-Test-Vectors
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { HexString } from '@pezkuwi/util/types';
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { u8aToHex } from '@pezkuwi/util';
import { cryptoWaitReady } from '@pezkuwi/util-crypto';
+3 -3
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { KeypairType } from '@pezkuwi/util-crypto/types';
@@ -13,7 +13,7 @@ export interface TestKeyringMap {
[index: string]: KeyringPair;
}
export interface TestKeyringMapSubstrate extends TestKeyringMap {
export interface TestKeyringMapBizinikiwi extends TestKeyringMap {
alice: KeyringPair;
bob: KeyringPair;
charlie: KeyringPair;
@@ -33,7 +33,7 @@ export interface TestKeyringMapEthereum extends TestKeyringMap {
export type DetectMap<O extends KeyringOptions | undefined> = DetectPairType<O> extends 'ethereum'
? TestKeyringMapEthereum
: TestKeyringMapSubstrate;
: TestKeyringMapBizinikiwi;
export type DetectPairType<O extends KeyringOptions | undefined> = O extends KeyringOptions
? O['type'] extends KeypairType
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { HexString } from '@pezkuwi/util/types';
+1 -1
View File
@@ -1,5 +1,5 @@
# @pezkuwi/networks
A list of all available Substrate networks and their applicable prefixes.
A list of all available Bizinikiwi networks and their applicable prefixes.
This list is periodically checked against the master list available at https://github.com/paritytech/ss58-registry/blob/main/ss58-registry.json
+2 -2
View File
@@ -1,7 +1,7 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/pezkuwichain/pezkuwi-common/issues",
"description": "A list of all available Substrate networks and their applicable prefixes",
"description": "A list of all available Bizinikiwi networks and their applicable prefixes",
"engines": {
"node": ">=18"
},
@@ -15,7 +15,7 @@
},
"sideEffects": false,
"type": "module",
"version": "14.0.1",
"version": "14.0.7",
"main": "index.js",
"dependencies": {
"@pezkuwi/util": "14.0.1",
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { ledgerApps } from '@pezkuwi/hw-ledger/defaults';
import { isHex } from '@pezkuwi/util';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { KnownGenesis } from '../types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { KnownIcon } from '../types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { knownGenesis } from './genesis.js';
+2 -2
View File
@@ -1,9 +1,9 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { KnownLedger } from '../types.js';
// These match up with the keys of the ledgerApps object in the @polkadot/hw-ledger/defaults.ts
// These match up with the keys of the ledgerApps object in the @pezkuwi/hw-ledger/defaults.ts
// and maps to the known slip44 (minus the `0x8` hard derivation flag)
//
// NOTE: Any network here needs to have a genesisHash attached in the ./genesis.ts config
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { KnownTestnet } from '../types.js';
+5 -5
View File
@@ -1,9 +1,9 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import type { SubstrateNetwork } from './types.js';
import type { BizinikwiNetwork } from './types.js';
import { knownGenesis, knownIcon, knownLedger, knownTestnet } from './defaults/index.js';
import { allNetworks, availableNetworks, selectableNetworks } from './index.js';
@@ -93,8 +93,8 @@ describe('availableNetworks', (): void => {
describe('allNetworks', (): void => {
it('has no ss58 duplicates', (): void => {
const dupes: SubstrateNetwork[] = [];
const uniques: SubstrateNetwork[] = [];
const dupes: BizinikwiNetwork[] = [];
const uniques: BizinikwiNetwork[] = [];
allNetworks.forEach((a): void => {
if (uniques.some((u) => u.prefix === a.prefix)) {
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
// TODO: This was removed, really cannot recall the reason...
+8 -8
View File
@@ -1,9 +1,9 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { KnownSubstrate, Network, SubstrateNetwork } from './types.js';
import type { KnownBizinikiwi, Network, BizinikwiNetwork } from './types.js';
import knownSubstrate from '@substrate/ss58-registry';
import knownBizinikiwi from '@substrate/ss58-registry';
import { knownGenesis, knownIcon, knownLedger, knownTestnet } from './defaults/index.js';
@@ -11,10 +11,10 @@ import { knownGenesis, knownIcon, knownLedger, knownTestnet } from './defaults/i
const UNSORTED = [0, 2, 42];
const TESTNETS = ['testnet'];
function toExpanded (o: KnownSubstrate): SubstrateNetwork {
function toExpanded (o: KnownBizinikiwi): BizinikwiNetwork {
const network = o.network || '';
const nameParts = network.replace(/_/g, '-').split('-');
const n = o as SubstrateNetwork;
const n = o as BizinikwiNetwork;
// ledger additions
n.slip44 = knownLedger[network];
@@ -42,7 +42,7 @@ function filterSelectable ({ genesisHash, prefix }: Network): boolean {
return !!genesisHash.length || prefix === 42;
}
function filterAvailable (n: SubstrateNetwork): n is Network {
function filterAvailable (n: BizinikwiNetwork): n is Network {
return !n.isIgnored && !!n.network;
}
@@ -59,8 +59,8 @@ function sortNetworks (a: Network, b: Network): number {
: 1;
}
// This is all the Substrate networks with our additional information
export const allNetworks = knownSubstrate.map(toExpanded);
// This is all the Bizinikiwi networks with our additional information
export const allNetworks = knownBizinikiwi.map(toExpanded);
// The list of available/claimed prefixes
// - no testnets
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './index.js';
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2026 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// Do not edit, auto-generated by @pezkuwi/dev
// (packageInfo imports will be kept as-is, user-editable)
import { detectPackage } from '@pezkuwi/util';
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2026 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@polkadot/networks', path: 'auto', type: 'auto', version: '14.0.1' };
export const packageInfo = { name: '@pezkuwi/networks', path: 'auto', type: 'auto', version: '14.0.6' };
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/networks authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import known from '@substrate/ss58-registry';
import fs from 'node:fs';
+6 -6
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/keyring authors & contributors
// Copyright 2017-2025 @pezkuwi/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { RegistryEntry } from '@substrate/ss58-registry';
@@ -12,11 +12,11 @@ export type KnownLedger = Record<string, number>;
export type KnownGenesis = Record<string, HexString[]>;
export type KnownSubstrate = RegistryEntry;
export type KnownBizinikiwi = RegistryEntry;
export type KnownTestnet = Record<string, true>;
export interface SubstrateNetwork extends KnownSubstrate {
export interface BizinikwiNetwork extends KnownBizinikiwi {
/** The genesisHash for the chain */
genesisHash: HexString[];
/** Does the chain has support for Ledger devices */
@@ -31,13 +31,13 @@ export interface SubstrateNetwork extends KnownSubstrate {
slip44?: number | null;
}
export interface Network extends SubstrateNetwork {
export interface Network extends BizinikwiNetwork {
/** The network assigned to this chain */
network: string;
}
export interface Ss58Registry {
registry: KnownSubstrate[];
registry: KnownBizinikiwi[];
specification: string;
schema: Record<keyof KnownSubstrate, string>;
schema: Record<keyof KnownBizinikiwi, string>;
}
+3 -3
View File
@@ -20,7 +20,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.0.2",
"version": "14.0.7",
"browser": {
"crypto": false,
"stream": false
@@ -31,8 +31,8 @@
"@noble/hashes": "^1.3.3",
"@pezkuwi/networks": "14.0.1",
"@pezkuwi/util": "14.0.1",
"@polkadot/wasm-crypto": "^7.5.3",
"@polkadot/wasm-util": "^7.5.3",
"@pezkuwi/wasm-crypto": "^7.5.4",
"@pezkuwi/wasm-util": "^7.5.4",
"@pezkuwi/x-bigint": "14.0.1",
"@pezkuwi/x-randomvalues": "14.0.1",
"@scure/base": "^1.1.7",
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { hexToU8a } from '@pezkuwi/util';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { decodeAddress } from './decode.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { checkAddress } from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Prefix } from './types.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { base58Decode } from '../base58/index.js';
import { checkAddressChecksum } from './checksum.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { sshash } from './sshash.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { hexToU8a, stringToU8a, u8aToHex } from '@pezkuwi/util';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Prefix } from './types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { availableNetworks } from '../networks.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { waitReady } from '@pezkuwi/wasm-crypto';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveJunction } from '../key/DeriveJunction.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { encodeAddress } from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Prefix } from './types.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { encodeDerivedAddress } from './index.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@pezkuwi/util';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { encodeMultiAddress } from './index.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@pezkuwi/util';
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { ALICE_PUBLIC_SR } from './encode.spec.js';
import { addressEq } from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { u8aEq } from '@pezkuwi/util';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { evmToAddress } from './index.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { HashType } from '../secp256k1/types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { addressToEvm } from './addressToEvm.js';
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { isAddress } from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Prefix } from './types.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { createKeyDerived } from './index.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@pezkuwi/util';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { createKeyMulti } from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@pezkuwi/util';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { encodeAddress, setSS58Format } from './index.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Prefix } from './types.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// Copyright 2017-2025 @pezkuwi/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { sortAddresses } from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/util authors & contributors
// Copyright 2017-2025 @pezkuwi/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Prefix } from './types.js';

Some files were not shown because too many files have changed in this diff Show More