@simbachain/truffle
Version:
Truffle Plugin for SIMBAChain
57 lines • 1.56 kB
TypeScript
import yargs from 'yargs';
export declare const command = "deploy";
export declare const describe = "deploy the project to SIMBAChain SCaaS";
export declare const builder: {
primary: {
string: boolean;
type: string;
describe: string;
};
url: {
string: boolean;
type: string;
describe: string;
};
api: {
string: boolean;
type: string;
describe: string;
};
app: {
string: boolean;
type: string;
describe: string;
};
blockchain: {
string: boolean;
type: string;
describe: string;
};
storage: {
string: boolean;
type: string;
describe: string;
};
args: {
string: boolean;
type: string;
describe: string;
};
};
/**
* deploy a contract to your organisation and application on blocks
* @param args
* args:
* args.primary name of primary contract if user wants to skip the prompt to choose contract
* args.deployInfo used to non-interactively deploy contract
* @returns
*/
export declare const handler: (args: yargs.Arguments) => Promise<any>;
/**
* deploy a contract to your organisation and application on blocks
* @param primary name of primary contract if user wants to skip the prompt to choose contract
* @param deployInfo used to non-interactively deploy contract
* @returns
*/
export declare function deployContract(primary?: string | unknown, deployInfo?: Record<any, any>): Promise<any>;
//# sourceMappingURL=deploy.d.ts.map