mirror of
https://github.com/pezkuwichain/pezkuwi-vanitygen.git
synced 2026-10-20 18:56:23 +00:00
fix/runtime-advisories
bn.js >= 5.0.0 < 5.2.3 (GHSA-378v-28hj-76wf) → `overrides` `bn.js ^5.2.3`; it resolves to 5.2.5. Regenerating the lockfile also corrects it: `package.json` asks for `@pezkuwi/util` and `@pezkuwi/util-crypto` `^14.0.13`, while the committed lock pinned 14.0.11, which does not satisfy that range. Its root entry also still said version 1.0.0 while package.json says 1.0.1. The regenerated lock resolves @pezkuwi/util* 14.0.26 and @pezkuwi/wasm-* 7.5.21, the current releases inside the declared ranges. @pezkuwi/util-crypto now depends on `@pezkuwi/scure-sr25519` instead of `@scure/sr25519`. 16 version changes, 2 removed, 1 added; nothing outside the declared ranges.
@pezkuwi/vanitygen
A CLI vanity address generator for Pezkuwichain
Forked from @polkadot/vanitygen and adapted for Pezkuwichain
Installation
npm install -g @pezkuwi/vanitygen
or
yarn global add @pezkuwi/vanitygen
Usage
pezkuwi-vanitygen --match cook13 --mnemonic --network pezkuwi --type sr25519
Options
--match <pattern>- The pattern to match at the start of the address--mnemonic- Generate using a mnemonic (slower but recoverable)--network <network>- Network prefix: bizinikiwi, pezkuwi, dicle, zagros (default: pezkuwi)--type <type>- Key type: sr25519 (default) or ed25519
Examples
Generate an address starting with "Pez":
pezkuwi-vanitygen --match Pez
Generate with mnemonic (recoverable):
pezkuwi-vanitygen --match cook --mnemonic
Generate ed25519 key:
pezkuwi-vanitygen --match test --type ed25519
Notes
When using the --mnemonic option, the generation will be very slow since it needs to generate mnemonics and then test the resulting outputs.
As with all other CLI utilities, --help will return a list of the available options.
License
Apache-2.0
Languages
TypeScript
57.3%
JavaScript
42.7%