From 9f9b170bfc1c9848e755adc14364cca28ef0c8bf Mon Sep 17 00:00:00 2001 From: rolandgalibert Date: Sat, 30 Mar 2024 14:54:03 -0400 Subject: [PATCH] Fixed bugs in index.ts (changed deployer to deployer.addr and changed indexer to algod); ran algokit bootstrap all; changed YOUR_NAME to Roland Galibert --- challenge/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/challenge/index.ts b/challenge/index.ts index c9649b1..878c26f 100644 --- a/challenge/index.ts +++ b/challenge/index.ts @@ -19,14 +19,15 @@ const appClient = new HelloWorldClient( resolveBy: 'creatorAndName', findExistingUsing: indexer, sender: deployer, - creatorAddress: deployer, + creatorAddress: deployer.addr, // added .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: "Roland Galibert"}, {sendParams: {suppressLog: true}}) console.log(result.return) \ No newline at end of file