From 9bc28046273d9278e09bd848ab3fce0ace975eb1 Mon Sep 17 00:00:00 2001 From: James Teasley Date: Sat, 13 Apr 2024 17:51:23 -0400 Subject: [PATCH] Fixed the issues with the index.ts file to successfully build and run. --- challenge/index.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/challenge/index.ts b/challenge/index.ts index c9649b1..60f09cf 100644 --- a/challenge/index.ts +++ b/challenge/index.ts @@ -19,14 +19,16 @@ const appClient = new HelloWorldClient( resolveBy: 'creatorAndName', findExistingUsing: indexer, sender: deployer, - creatorAddress: deployer, + //creatorAddress: deployer, + creatorAddress: deployer.addr, }, - indexer, + //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: "James"}, {sendParams: {suppressLog: true}}) console.log(result.return) \ No newline at end of file