@wavesenterprise/generator-cli
Version:
Waves Enterprise transactions generator CLI
36 lines (35 loc) • 825 B
TypeScript
export declare enum TxType {
DockerCall = "104"
}
export interface IDockerCallParam {
type: 'string' | 'integer' | 'boolean';
key: string;
value: string;
}
export interface IConfig {
outputDir: string;
generator: {
txsFormat: 'json' | 'grpc';
txsNumber: number;
crypto: string;
networkByte: string;
distribution: {
[value in TxType]: string;
};
templates: {
[TxType.DockerCall]: {
contractId: string;
contractVersion: string;
fee: string;
params: IDockerCallParam[];
};
};
};
broadcast: {
grpcAddresses: string[];
senderSeedPhrase: string;
};
}
export interface IBroadcastOptions {
concurrency: number;
}