diff --git a/src/commands/contracts/deploy.ts b/src/commands/contracts/deploy.ts index 66e3aef3..b5e46bac 100644 --- a/src/commands/contracts/deploy.ts +++ b/src/commands/contracts/deploy.ts @@ -133,6 +133,7 @@ export class DeployAction extends BaseAction { this.setSpinnerText("Starting contract deployment..."); this.log("Deployment Parameters:", deployParams); + const hash = (await this.genlayerClient.deployContract(deployParams)) as any; const result = await this.genlayerClient.waitForTransactionReceipt({ hash, @@ -143,6 +144,7 @@ export class DeployAction extends BaseAction { this.log("Deployment Receipt:", result); + this.succeedSpinner("Contract deployed successfully.", { "Transaction Hash": hash, "Contract Address": result.data?.contract_address,