From 87a2912ba2ce8cdc061781d92a7c158aa57c35bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Friedger=20M=C3=BCffke?= Date: Tue, 24 Nov 2020 09:03:51 +0100 Subject: [PATCH] fix: replace contract id with contract identifier --- src/pages/smart-contracts/testing-contracts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/smart-contracts/testing-contracts.md b/src/pages/smart-contracts/testing-contracts.md index 6278a978..044ae539 100644 --- a/src/pages/smart-contracts/testing-contracts.md +++ b/src/pages/smart-contracts/testing-contracts.md @@ -97,7 +97,7 @@ provider = await ProviderRegistry.createProvider(); helloWorldClient = new Client("SP3GWX3NE58KXHESRYE4DYQ1S31PQJTCRXB3PE9SB.hello-world", "hello-world", provider); ``` -Take a look at the client initialization. It requires a contract id and name in the following format: `{contract_address}.{contract_identifier}`. The second field indicates the location of the smart contract file, without the `.clar` suffix. By default, the location is assumed to be relative to the `contracts` folder. +Take a look at the client initialization. It requires a contract identifier in the following format: `{contract_address}.{contract_name}`. The second argument indicates the location of the smart contract file, without the `.clar` suffix. By default, the location is assumed to be relative to the `contracts` folder. As you can see above, a sample Stacks address and contract identifier is already provided for you. You don't need to modify anything.