From 3cd6cd6405b3df08ffab144077f0534eba6d32a7 Mon Sep 17 00:00:00 2001 From: Jawad Tariq Date: Mon, 4 Mar 2024 11:20:05 -0500 Subject: [PATCH] fix: typo Signed-off-by: Jawad Tariq --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 13384a5..03c7120 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ $ npm run build To build different Typechain target: ``` -npx hardhat typechain --typechain-target target +npx hardhat compile --typechain-target target ``` Where `target` can be `ethers-v6`, `web3-v1`etc. @@ -73,7 +73,7 @@ export TYPECHAIN_TARGET=web3-v1 ``` - By setting the `--typechain-target` command line option ```bash -npx hardhat typechain --typechain-target web3-v1 +npx hardhat compile --typechain-target web3-v1 ``` - By setting the `typechain` field in `hardhat.config.ts` ```typescript