From fa2f9abc82eb5b014904f12b38952d592720f413 Mon Sep 17 00:00:00 2001 From: Journey <52627267+chengazhen@users.noreply.github.com> Date: Mon, 12 Aug 2024 15:43:13 +0800 Subject: [PATCH] doc: fix the word error Here is script and down Here is scripts first: script/deploy.ts second npx hardhat run scripts/deploy.ts --- docs/docs/guides/hardhat_tutorial/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/guides/hardhat_tutorial/index.md b/docs/docs/guides/hardhat_tutorial/index.md index 9109004467c..980635ee806 100644 --- a/docs/docs/guides/hardhat_tutorial/index.md +++ b/docs/docs/guides/hardhat_tutorial/index.md @@ -127,7 +127,7 @@ Running the above command will generate a folder called `artifacts` containing t ![images](./asset/artifacts.png) -To deploy the contract, we will modify the `script/deploy.ts` file as shown below. +To deploy the contract, we will modify the `scripts/deploy.ts` file as shown below. First, we import the initialized web3 object from hardhat. Next we get the artifacts.