From 88d09be864d5e2f6b5aa4c4ad0322535a2006812 Mon Sep 17 00:00:00 2001 From: Steven Umar Date: Tue, 26 Mar 2024 16:31:52 +0100 Subject: [PATCH] MAIN (fix): fixed the bug in index.ts --- challenge/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/challenge/index.ts b/challenge/index.ts index c9649b1..f67aa3a 100644 --- a/challenge/index.ts +++ b/challenge/index.ts @@ -19,14 +19,14 @@ const appClient = new HelloWorldClient( resolveBy: 'creatorAndName', findExistingUsing: indexer, sender: deployer, - creatorAddress: deployer, + creatorAddress: deployer.addr, }, - indexer, + algod, ) await appClient.create.createApplication({}); // TODO: change YOUR_NAME to your name or nickname -const result = await appClient.helloWorld({name: "YOUR_NAME"}, {sendParams: {suppressLog: true}}) +const result = await appClient.helloWorld({name: "Nurulmasih"}, {sendParams: {suppressLog: true}}) console.log(result.return) \ No newline at end of file