Files
pezkuwi-vanitygen/src/types.ts
T
pezkuwichain 6a860cecfe 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
2026-01-11 23:22:39 +03:00

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;
}