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
34 lines
706 B
TypeScript
34 lines
706 B
TypeScript
// Copyright 2017-2025 @pezkuwi/vanitygen authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { KeypairType } from '@pezkuwi/util-crypto/types';
|
|
|
|
export interface GeneratorCalculation {
|
|
count: number;
|
|
offset: number;
|
|
}
|
|
|
|
export interface GeneratorMatch extends GeneratorCalculation {
|
|
address: string;
|
|
mnemonic?: string;
|
|
seed?: Uint8Array;
|
|
}
|
|
|
|
export type GeneratorMatches = GeneratorMatch[];
|
|
|
|
export interface GeneratorOptions {
|
|
atOffset?: number;
|
|
match: string;
|
|
network?: string;
|
|
runs: number;
|
|
ss58Format: number;
|
|
type: KeypairType;
|
|
withCase?: boolean;
|
|
withHex?: boolean;
|
|
}
|
|
|
|
export interface GeneratorResult {
|
|
elapsed: number;
|
|
found: GeneratorMatches;
|
|
}
|