mirror of
https://github.com/pezkuwichain/pezkuwi-vanitygen.git
synced 2026-06-13 10:11:02 +00:00
Initial commit: Fork @polkadot/vanitygen to @pezkuwi/vanitygen
- 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
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user