mirror of
https://github.com/pezkuwichain/pezkuwi-vanitygen.git
synced 2026-04-21 23:47:58 +00:00
6a860cecfe
- Replace all @polkadot/* dependencies with @pezkuwi/* - Update package.json metadata for Pezkuwichain - Update CLI command from polkadot-js-vanitygen to pezkuwi-vanitygen - Update network options: bizinikiwi, pezkuwi, dicle, zagros - Set default network to pezkuwi (ss58Format: 42) - Update documentation and README - Build and test successful - Version 1.0.0
58 lines
1.2 KiB
Markdown
58 lines
1.2 KiB
Markdown
# @pezkuwi/vanitygen
|
|
|
|
A CLI vanity address generator for Pezkuwichain
|
|
|
|
> Forked from [@polkadot/vanitygen](https://github.com/polkadot-js/tools) and adapted for Pezkuwichain
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
npm install -g @pezkuwi/vanitygen
|
|
```
|
|
|
|
or
|
|
|
|
```bash
|
|
yarn global add @pezkuwi/vanitygen
|
|
```
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
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":
|
|
```bash
|
|
pezkuwi-vanitygen --match Pez
|
|
```
|
|
|
|
Generate with mnemonic (recoverable):
|
|
```bash
|
|
pezkuwi-vanitygen --match cook --mnemonic
|
|
```
|
|
|
|
Generate ed25519 key:
|
|
```bash
|
|
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
|