From e928032b8b574db117ef532b174bec846bf03289 Mon Sep 17 00:00:00 2001 From: b00l Date: Sun, 12 May 2024 21:49:46 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=94=B9=E7=AC=AC=E5=85=AD?= =?UTF-8?q?=E8=AE=B2=E9=83=A8=E7=BD=B2=E5=90=88=E7=BA=A6=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 06_DeployContract/readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/06_DeployContract/readme.md b/06_DeployContract/readme.md index 50d8c11..f9f1a96 100644 --- a/06_DeployContract/readme.md +++ b/06_DeployContract/readme.md @@ -50,6 +50,8 @@ const contract = await contractFactory.deploy(args) 你可以利用下面两种命令,等待合约部署在链上确认,然后再进行交互。 ```js await contractERC20.waitForDeployment(); +// 或 +contractERC20.deploymentTransaction()?.wait(); ```