@wavesenterprise/generator-cli
Version:
Waves Enterprise transactions generator CLI
39 lines (35 loc) • 706 B
text/typescript
export 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
}