Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/extension/commands/neoExpressCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,19 @@ export default class NeoExpressCommands {
if (!contractFile) {
return;
}
const contractData = await IoHelpers.enterString(
"Enter optional data to deploy the contract"
);
let data: string[] = [];
if (contractData) {
data = ['-d', contractData];
}
const output = await neoExpress.run(
"contract",
"deploy",
contractFile,
account,
...data,
"-i",
identifier.configPath
);
Expand Down